-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pylintrc
38 lines (30 loc) · 1.45 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[MASTER]
# Use multiple processes to speed up Pylint.
jobs=1
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=pylint.extensions.check_elif,
pylint.extensions.overlapping_exceptions,
pylint.extensions.redefined_variable_type,
max-line-length = 115
[MESSAGES CONTROL]
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
enable=all
# Disable the message, report, category or checker with the given id(s).
disable=missing-docstring,
compare-to-zero,
duplicate-code,
unnecessary-pass, # functions with nothing but docstrings look weird
invalid-name, # flake8 already enforces PEP8 naming
redefined-outer-name, # pytest causes a lot of this
line-too-long, # happens a lot with `with ... as ...` statements
unspecified-encoding, # there's a lot of these -- definitely want a dedicated cleanup pass.
use-implicit-booleaness-not-comparison-to-string
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio).You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=colorized