diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-04-23 09:42:56 -0400 |
---|---|---|
committer | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-04-23 18:55:52 +0200 |
commit | 6be842ec680a2cbd249812da0844e5322332d65e (patch) | |
tree | 8f63aa802308d6faaa3384478f6af036811201e1 | |
parent | 29cbf1ab61a5002855c67d4601bf2fb90f564799 (diff) | |
download | pylint-git-6be842ec680a2cbd249812da0844e5322332d65e.tar.gz |
Clear cache between primer package runs
-rw-r--r-- | pylint/testutils/_primer/primer_run_command.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/testutils/_primer/primer_run_command.py b/pylint/testutils/_primer/primer_run_command.py index c91983793..7fb4a9ea2 100644 --- a/pylint/testutils/_primer/primer_run_command.py +++ b/pylint/testutils/_primer/primer_run_command.py @@ -77,7 +77,8 @@ class RunCommand(PrimerCommand): # 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)}'") |