Bug 1729222 - pylint - ride along - remove items from the exclude + fix a warning r=linter-reviewers,marco DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D124581
This commit is contained in:
Sylvestre Ledru 2021-09-06 08:05:39 +00:00
Родитель 8fe3ab6fd8
Коммит 3cb3d2ac04
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -55,7 +55,7 @@ def nameOIDtoString(oid):
def print_block(pemData, identifierType="DN", crtshId=None):
substrate = pem.readPemFromFile(io.StringIO(pemData.decode("utf-8")))
cert, rest = decoder.decode(substrate, asn1Spec=rfc5280.Certificate())
cert, _ = decoder.decode(substrate, asn1Spec=rfc5280.Certificate())
octets = None
if identifierType == "DN":

Просмотреть файл

@ -13,8 +13,6 @@ pylint:
- toolkit/components/telemetry/
exclude:
- dom/bindings/Codegen.py
- dom/bindings/Configuration.py
- security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py
- security/manager/ssl/tests/unit/test_content_signing/pysign.py
- security/ct/tests/gtest/createSTHTestData.py
extensions: ['py']