diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2022-11-18 14:10:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 21:10:52 +0100 |
commit | 07b81d42b11b423c1eb6936f775d4eaaf4f1de22 (patch) | |
tree | d088afc1e3f28866d272f4cb106a647408ef5755 /pylintrc | |
parent | 7b82cc82c857b78316b3f8cc13f702eea8704efb (diff) | |
download | pylint-git-07b81d42b11b423c1eb6936f775d4eaaf4f1de22.tar.gz |
Enable broad-try-clause check (#7796)
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,6 +32,7 @@ load-plugins= pylint.extensions.typing, pylint.extensions.redefined_variable_type, pylint.extensions.comparison_placement, + pylint.extensions.broad_try_clause, # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use. @@ -444,6 +445,9 @@ max-public-methods=25 # Maximum number of boolean expressions in an if statement (see R0916). max-bool-expr=5 +# Maximum number of statements in a try-block +max-try-statements = 14 + # List of regular expressions of class ancestor names to # ignore when counting public methods (see R0903). exclude-too-few-public-methods= |