Skip to content

Commit

Permalink
Revert workaround for pylint-dev/pylint#7003
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Sep 17, 2022
1 parent c376180 commit 967dc0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions check_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ def main() -> None:
PYTHONPATH=os.pathsep.join(sys.path + workspace.path))
result = subprocess.run(
[sys.executable, '-m', 'pylint',
# We’d like to add “--” after the options, but that’s not possible due
# to https://github.com/PyCQA/pylint/issues/7003.
'--persistent=no', '--rcfile=' + str(args.pylintrc.resolve())]
'--persistent=no', '--rcfile=' + str(args.pylintrc.resolve()), '--']
+ [str(file.relative_to(cwd))
for file in sorted(workspace.srcs)],
check=False, cwd=cwd, env=env,
Expand Down

0 comments on commit 967dc0d

Please sign in to comment.