|
10 | 10 |
|
11 | 11 | # List of plugins (as comma separated values of python modules names) to load,
|
12 | 12 | # usually to register additional checkers.
|
| 13 | + # See https://chezsoi.org/lucas/blog/pylint-strict-base-configuration.html. |
| 14 | + # We do not use the plugins: |
| 15 | + # - pylint.extensions.code_style |
| 16 | + # - pylint.extensions.magic_value |
| 17 | + # - pylint.extensions.while_used |
| 18 | + # as they seemed to get in the way. |
13 | 19 | load-plugins = [
|
| 20 | + 'pylint.extensions.bad_builtin', |
| 21 | + 'pylint.extensions.comparison_placement', |
| 22 | + 'pylint.extensions.consider_refactoring_into_while_condition', |
14 | 23 | 'pylint.extensions.docparams',
|
| 24 | + 'pylint.extensions.dunder', |
| 25 | + 'pylint.extensions.eq_without_hash', |
| 26 | + 'pylint.extensions.for_any_all', |
| 27 | + 'pylint.extensions.mccabe', |
15 | 28 | 'pylint.extensions.no_self_use',
|
| 29 | + 'pylint.extensions.overlapping_exceptions', |
| 30 | + 'pylint.extensions.private_import', |
| 31 | + 'pylint.extensions.redefined_loop_name', |
| 32 | + 'pylint.extensions.redefined_variable_type', |
| 33 | + 'pylint.extensions.set_membership', |
| 34 | + 'pylint.extensions.typing', |
16 | 35 | ]
|
17 | 36 |
|
18 | 37 | # Allow loading of arbitrary C extensions. Extensions are imported into the
|
|
26 | 45 | # multiple time (only on the command line, not in the configuration file where
|
27 | 46 | # it should appear only once). See also the "--disable" option for examples.
|
28 | 47 | enable = [
|
| 48 | + 'bad-inline-option', |
| 49 | + 'deprecated-pragma', |
| 50 | + 'file-ignored', |
29 | 51 | 'spelling',
|
| 52 | + 'use-symbolic-message-instead', |
30 | 53 | 'useless-suppression',
|
31 | 54 | ]
|
32 | 55 |
|
|
0 commit comments