aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/presubmit.py
diff options
context:
space:
mode:
authorGravatar Jonathan Metzman <metzman@chromium.org>2021-01-20 13:29:47 -0800
committerGravatar Jonathan Metzman <metzman@chromium.org>2021-01-20 13:29:47 -0800
commitb3e30e517011bb5228c3421a8f1d46a4a824417b (patch)
tree398bf735106a3586dfabce715851ea0c06b772ca /infra/presubmit.py
parenta5ad91c7f5a918adfa664337e7a8fc337e882249 (diff)
Fix lint function and add pylint directive
Diffstat (limited to 'infra/presubmit.py')
-rwxr-xr-xinfra/presubmit.py2
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']