Skip to content

Commit

Permalink
Fix crash in Pylint 3
Browse files Browse the repository at this point in the history
Since pylint-dev/pylint#3554, do_exit has been
deprecated, so don't use it any more.
  • Loading branch information
niknetniko committed Nov 24, 2023
1 parent c5f0b09 commit ad77607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tested/languages/python/linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run_pylint(
try:
args = [f"--rcfile={config_path}", str(submission)]
logger.debug("Running with template_args %s", args)
lint.Run(args, reporter=JSONReporter(output=pylint_out), do_exit=False)
lint.Run(args, reporter=JSONReporter(output=pylint_out), exit=False)
except Exception as e:
logger.warning("Pylint crashed with", exc_info=e)
return [
Expand Down

0 comments on commit ad77607

Please sign in to comment.