Skip to content

Commit 7feeb56

Browse files
stdedosPierre-Sassoulas
authored andcommitted
Minor re-ordering of the tool.pylint, with some comments
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent 0a4331d commit 7feeb56

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

pyproject.toml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ convention = "google"
110110

111111
[tool.pylint]
112112

113+
ignore-paths="tests/input" # Ignore test inputs
114+
113115
load-plugins= [
114116
"pylint_pytest",
115117
"pylint.extensions.bad_builtin",
@@ -138,20 +140,21 @@ load-plugins= [
138140
# "pylint.extensions.magic_value", # highly opinionated
139141
]
140142
disable=[
141-
"unspecified-encoding",
142-
"fixme",
143-
"missing-docstring",
143+
"docstring-first-line-empty", # C0199; not-an-issue
144+
145+
# Temporary disables
146+
"cannot-enumerate-pytest-fixtures", # ToDo: Our own message, fix first
147+
"fixme", # needs-work, and probably regex
144148
"attribute-defined-outside-init",
145-
"use-maxsplit-arg",
146-
"used-before-assignment",
149+
"confusing-consecutive-elif",
150+
"duplicate-code",
151+
"missing-docstring",
152+
"redefined-loop-name",
153+
"too-complex",
147154
"too-many-arguments",
148155
"too-many-nested-blocks",
149156
"too-many-try-statements",
150-
"redefined-loop-name",
151-
"docstring-first-line-empty",
152-
"confusing-consecutive-elif",
153-
"too-complex",
154-
"cannot-enumerate-pytest-fixtures", # our own message, fix first
155-
"duplicate-code",
157+
"unspecified-encoding",
158+
"use-maxsplit-arg",
159+
"used-before-assignment",
156160
]
157-
ignore-paths="tests/input"

0 commit comments

Comments
 (0)