diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-16 19:27:34 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-19 15:49:12 -0400 |
commit | e343590e7d59b4bfd6bc4913ac20ac9c46e702a4 (patch) | |
tree | 35a4686430881e793238578da3bbe7a5126edbc4 /.pylintrc | |
parent | 29a62ff794df3d72616740be9723b87f6b491722 (diff) | |
download | meson-e343590e7d59b4bfd6bc4913ac20ac9c46e702a4.zip meson-e343590e7d59b4bfd6bc4913ac20ac9c46e702a4.tar.gz meson-e343590e7d59b4bfd6bc4913ac20ac9c46e702a4.tar.bz2 |
pylint: ignore possibly/used-before-assignment as it is prone to FP
It does no control flow analysis, and upgrading to pylint 3.2.0 produced
many incorrect warnings.
Also ignore contextmanager-generator-missing-cleanup for now. It has FP
when there is no code after a yield (and thus no cleanup needs to be
handled), which is what we do. Currently under discussion upstream:
https://github.com/pylint-dev/pylint/issues/9625
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,7 @@ disable= cell-var-from-loop, consider-using-f-string, consider-using-with, + contextmanager-generator-missing-cleanup, cyclic-import, deprecated-decorator, duplicate-code, @@ -47,6 +48,7 @@ disable= not-an-iterable, not-callable, pointless-string-statement, + possibly-used-before-assignment, protected-access, raise-missing-from, redeclared-assigned-name, @@ -75,6 +77,7 @@ disable= unsubscriptable-object, unused-argument, unused-variable, + used-before-assignment, useless-super-delegation, wrong-import-order, wrong-import-position, |