Skip to content

Commit 94504d4

Browse files
authored
chore: add suggestion mode to pylint settings, and silence the “too many try statements” checker (#890)
Signed-off-by: Jens Troeger <[email protected]>
1 parent 4d3e4ad commit 94504d4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ ignore_missing_imports = true
210210
# https://pylint.pycqa.org/en/latest/user_guide/configuration/index.html
211211
[tool.pylint.MASTER]
212212
fail-under = 10.0
213+
suggestion-mode = true # Remove this setting when pylint v4 is released.
214+
load-plugins = [
215+
]
213216
disable = [
214217
"fixme",
215218
"line-too-long", # Replaced by Flake8 Bugbear B950 check.
@@ -218,15 +221,16 @@ disable = [
218221
"too-many-arguments",
219222
"too-many-boolean-expressions",
220223
"too-many-branches",
224+
"too-many-function-args",
221225
"too-many-instance-attributes",
222226
"too-many-lines",
223227
"too-many-locals",
224228
"too-many-nested-blocks",
229+
"too-many-positional-arguments",
225230
"too-many-public-methods",
226231
"too-many-return-statements",
227232
"too-many-statements",
228-
"too-many-function-args",
229-
"too-many-positional-arguments",
233+
"too-many-try-statements",
230234
"duplicate-code",
231235
]
232236

0 commit comments

Comments
 (0)