diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2022-12-05 16:52:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 22:52:17 +0100 |
commit | f860e3fe1c03be81e16732123a1e0cdb247db47f (patch) | |
tree | 0dfeaef9382e3f1f5b080570438f250a21abe3dd /pylintrc | |
parent | ffef6f0c0e0ad1e54ea412f77e38a8628f3d32c8 (diff) | |
download | pylint-git-f860e3fe1c03be81e16732123a1e0cdb247db47f.tar.gz |
Add flag `--clear-cache-post-run` to support server-like usage (#7802)
Use this flag if you expect the linted files to be altered between runs,
for instance, if using pylint in a server-like mode. The flag clear's
astroid's in-memory caches.
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -68,6 +68,10 @@ fail-under=10.0 # specified are enabled, while categories only check already-enabled messages. fail-on= +# Clear in-memory caches upon conclusion of linting. Useful if running pylint in +# a server-like mode. +clear-cache-post-run=no + [MESSAGES CONTROL] |