diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2021-11-27 10:25:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-27 16:25:01 +0100 |
commit | 813aab5069f55eebf501ea000a46fc39a09956a8 (patch) | |
tree | 54a68b31e346165c75c9e89b7cf76e288319ccb1 /pylintrc | |
parent | 47e860f7d5c73d53de77e7c450535e709e5ef99e (diff) | |
download | astroid-git-813aab5069f55eebf501ea000a46fc39a09956a8.tar.gz |
Upgrade to pylint 2.12 and enable ``for_any_all`` checker (#1277)
* Enable for_any_all check
* Upgrade to pylint 2.12 in pre-commit configuration
* Fix new Pylint warnings
* Upgrade the regex for Mixin
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,7 @@ load-plugins= pylint.extensions.code_style, pylint.extensions.set_membership, pylint.extensions.redefined_variable_type, + pylint.extensions.for_any_all, # Use multiple processes to speed up Pylint. jobs=1 @@ -300,6 +301,9 @@ ignored-modules=typed_ast.ast3 # (useful for classes with attributes dynamically set). ignored-classes=SQLObject +# Regex pattern to define which classes are considered mixins. +mixin-class-rgx=.*Mix[i|I]n + # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E0201 when accessed. Python regular # expressions are accepted. |