Skip to content

Commit a6ad42c

Browse files
update .pylintrc config
1 parent cf1c146 commit a6ad42c

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.pylintrc

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ disable=fixme,
6868
superfluous-parens,
6969
bad-continuation,
7070
line-too-long,
71-
bad-option-value
71+
bad-option-value,
72+
use-dict-literal,
73+
missing-timeout,
74+
unnecessary-dunder-call,
75+
unnecessary-lambda-assignment,
76+
broad-exception-raised,
77+
consider-using-generator,
7278

7379

7480
# Enable the message, report, category or checker with the given id(s). You can
@@ -234,13 +240,6 @@ indent-string=' '
234240
# Maximum number of lines in a module
235241
max-module-lines=1000
236242

237-
# List of optional constructs for which whitespace checking is disabled. `dict-
238-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
239-
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
240-
# `empty-line` allows space-only lines.
241-
no-space-check=trailing-comma,
242-
dict-separator
243-
244243
# Allow the body of a class to be on the same line as the declaration if body
245244
# contains single statement.
246245
single-line-class-stmt=no
@@ -415,7 +414,7 @@ max-bool-expr=5
415414
max-branches=15
416415

417416
# Maximum number of locals for function / method body
418-
max-locals=15
417+
max-locals=18
419418

420419
# Maximum number of parents for a class (see R0901).
421420
max-parents=7
@@ -467,10 +466,3 @@ known-standard-library=
467466

468467
# Force import order to recognize a module as part of a third party library.
469468
known-third-party=enchant
470-
471-
472-
[EXCEPTIONS]
473-
474-
# Exceptions that will emit a warning when being caught. Defaults to
475-
# "Exception"
476-
overgeneral-exceptions=Exception

0 commit comments

Comments
 (0)