Skip to content

Commit fdb31a3

Browse files
committed
Revert workaround for pylint-dev/pylint#7003
1 parent d159df6 commit fdb31a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

check_python.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def main() -> None:
7979
PYTHONPATH=os.pathsep.join(sys.path + workspace.path))
8080
result = subprocess.run(
8181
[sys.executable, '-m', 'pylint',
82-
# We’d like to add “--” after the options, but that’s not possible due
83-
# to https://github.com/PyCQA/pylint/issues/7003.
84-
'--persistent=no', '--rcfile=' + str(args.pylintrc.resolve())]
82+
'--persistent=no', '--rcfile=' + str(args.pylintrc.resolve()), '--']
8583
+ [str(file.relative_to(cwd))
8684
for file in sorted(workspace.srcs)],
8785
check=False, cwd=cwd, env=env,

0 commit comments

Comments
 (0)