1 # How to create this file.
2 # - Generate with `pylint --generate-rcfile > pylintrc`. Do this in a directory
3 # that doesn't already contain a `pylintrc` file, because the output is
4 # affected by any existing `pylintrc` file.
5 # - Then modify entries resulting in unreasonable warnings.
6 # - If a lint is never interesting, add it to the `disable=` list with an
8 # - If a lint is interesting but needs modification, comment out the original
9 # value, add a new value along with an explanatory comment.
10 # - Remove all non-modified entries.
15 # We don't care about having docstrings everywhere.
16 missing-class-docstring, missing-function-docstring,
17 missing-module-docstring,
18 # We don't care about these, sometimes they are necessary.
19 too-many-arguments, too-many-branches, too-many-lines, too-many-locals,
21 # Zero or one public methods in a class is fine.
22 too-few-public-methods,
26 # Good variable names regexes, separated by a comma. If names match any regex,
27 # they will always be accepted
29 # We allow any lower-case variable name of length 1 or 2.
30 good-names-rgxs=\b[a-z]\b,\b[a-z][a-z0-9]\b