Skip to content

Commit

Permalink
Improve handling of PYLINT_EXTRA_ARGS in Python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mi-La committed Apr 8, 2021
1 parent 40f2077 commit 66da58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _runPylint(sources, options, disableOption=None):
pylintOptions.append("--disable=%s" % disableOption)

if "PYLINT_EXTRA_ARGS" in os.environ:
pylintOptions.append(os.environ["PYLINT_EXTRA_ARGS"])
pylintOptions += os.environ["PYLINT_EXTRA_ARGS"].split()

pylintRunner = pylint.lint.Run(pylintOptions, do_exit=False)
if pylintRunner.linter.msg_status:
Expand Down

0 comments on commit 66da58a

Please sign in to comment.