Skip to content

Commit

Permalink
Clear cache between primer package runs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored and DanielNoord committed Apr 23, 2023
1 parent 29cbf1a commit 6be842e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylint/testutils/_primer/primer_run_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def _lint_package(
# Duplicate code takes too long and is relatively safe
# TODO: Find a way to allow cyclic-import and compare output correctly
disables = ["--disable=duplicate-code,cyclic-import"]
arguments = data.pylint_args + enables + disables
additional = ["--clear-cache-post-run=y"]
arguments = data.pylint_args + enables + disables + additional
output = StringIO()
reporter = JSONReporter(output)
print(f"Running 'pylint {', '.join(arguments)}'")
Expand Down

0 comments on commit 6be842e

Please # to comment.