-
Notifications
You must be signed in to change notification settings - Fork 7
/
pylintrc
37 lines (32 loc) · 1.14 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
[MESSAGES CONTROL]
# disable these warnings
disable=
# we often have large numbers of locals and arguments due to Sacred configs
too-many-arguments,
too-many-instance-attributes,
too-many-locals,
# we intentionally use locals() in Sacred config to suppress linting errors
possibly-unused-variable,
# disagree with the rule: it's only sometimes clearer
no-else-return,
# too many false positives
arguments-differ,
duplicate-code,
# Python formatting cleaner, we don't care about minor performance overhead
logging-format-interpolation,
logging-fstring-interpolation,
# snake_case naming style: spurious errors for short variable names
C0103,
# hanging indent, see black GH issue #48
C0330,
# We intend to leave TODO comments in place
fixme,
[BASIC]
# Minimum line length for functions/classes that require docstrings, shorter
# # ones are exempt.
docstring-min-length=10
# See https://github.com/PyCQA/pylint/issues/2843
# astroid hits recursion depth sometimes when linting pandas code
# Modestly increasing the recursion limit fixes this.
[MASTER]
init-hook='import sys; sys.setrecursionlimit(2 * sys.getrecursionlimit())'