-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.pylintrc
17 lines (17 loc) · 840 Bytes
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[BASIC]
# Let us omit docstrings for short functions.
docstring-min-length = 4
# Let us name parameters of function type ``f`` and type parameters ``T``.
variable-rgx = [a-z_][a-z0-9_]*$
argument-rgx = [a-z_][a-z0-9_]*$
# fixme: Warns if we leave a TODO or FIXME in the code. These are tech debt
# markers that may not have urgent priority.
# redefined-outer-name: Warns if a local variable shadows a global variable.
# We should be able to think locally and ignore global variables.
# isinstance-second-argument-not-valid-type: This is a bug. Pylint fails to
# recognize protocols as types. https://github.com/PyCQA/pylint/issues/3507
disable = fixme,redefined-outer-name,isinstance-second-argument-not-valid-type
# Data classes are fine.
min-public-methods = 0
# URLs often break the line width limit.
ignore-long-lines = https?://