@@ -76,8 +76,11 @@ disable=
76
76
assignment-from-none,
77
77
# Allow freedom with error raises.
78
78
raise-missing-from,
79
- # Allow freedom with string formatting.
80
- consider-using-f-string
79
+ # Allow freedom with using lambda functions.
80
+ unnecessary-lambda-assignment,
81
+ # Allow freedom with old ways of using basic types.
82
+ consider-using-f-string,
83
+ use-dict-literal
81
84
82
85
# Enable the message, report, category or checker with the given id(s). You can
83
86
# either give multiple identifier separated by comma (,) or put this option
@@ -251,12 +254,6 @@ max-line-length=99
251
254
# Maximum number of lines in a module.
252
255
max-module-lines =999
253
256
254
- # List of optional constructs for which whitespace checking is disabled. `dict-
255
- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
256
- # `trailing-comma` allows a space between comma and closing bracket: (a, ).
257
- # `empty-line` allows space-only lines.
258
- no-space-check =dict-separator
259
-
260
257
# Allow the body of a class to be on the same line as the declaration if body
261
258
# contains single statement.
262
259
single-line-class-stmt =no
@@ -519,6 +516,6 @@ preferred-modules=
519
516
[EXCEPTIONS]
520
517
521
518
# Exceptions that will emit a warning when being caught. Defaults to
522
- # "BaseException, Exception".
523
- overgeneral-exceptions =BaseException,
524
- Exception
519
+ # "builtins. BaseException, builtins. Exception".
520
+ overgeneral-exceptions =builtins. BaseException,
521
+ builtins. Exception
0 commit comments