diff options
author | Jonathan Metzman <metzman@chromium.org> | 2021-01-20 13:29:47 -0800 |
---|---|---|
committer | Jonathan Metzman <metzman@chromium.org> | 2021-01-20 13:29:47 -0800 |
commit | b3e30e517011bb5228c3421a8f1d46a4a824417b (patch) | |
tree | 398bf735106a3586dfabce715851ea0c06b772ca /infra/presubmit.py | |
parent | a5ad91c7f5a918adfa664337e7a8fc337e882249 (diff) |
Fix lint function and add pylint directive
Diffstat (limited to 'infra/presubmit.py')
-rwxr-xr-x | infra/presubmit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/presubmit.py b/infra/presubmit.py index a84db3b4..0cf0d73f 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'] |