diff --git a/infra/cifuzz/build_fuzzers_entrypoint.py b/infra/cifuzz/build_fuzzers_entrypoint.py index 657eaf511..8128e1a52 100644 --- a/infra/cifuzz/build_fuzzers_entrypoint.py +++ b/infra/cifuzz/build_fuzzers_entrypoint.py @@ -19,6 +19,9 @@ import sys import cifuzz +# pylint: disable=c-extension-no-member +# pylint gets confused because of the relative import of cifuzz. + # TODO: Turn default logging to INFO when CIFuzz is stable logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', diff --git a/infra/cifuzz/run_fuzzers_entrypoint.py b/infra/cifuzz/run_fuzzers_entrypoint.py index 75312c3d7..631d0a2af 100644 --- a/infra/cifuzz/run_fuzzers_entrypoint.py +++ b/infra/cifuzz/run_fuzzers_entrypoint.py @@ -18,6 +18,9 @@ import sys import cifuzz +# pylint: disable=c-extension-no-member +# pylint gets confused because of the relative import of cifuzz. + # TODO: Turn default logging to INFO when CIFuzz is stable. logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', diff --git a/infra/presubmit.py b/infra/presubmit.py index a84db3b44..0cf0d73fc 100755 --- a/infra/presubmit.py +++ b/infra/presubmit.py @@ -292,7 +292,7 @@ def is_nonfuzzer_python(path): return os.path.splitext(path)[1] == '.py' and '/projects/' not in path -def lint(): +def lint(_=None): """Run python's linter on infra. Return False if it fails linting.""" command = ['python3', '-m', 'pylint', '-j', '0', 'infra']