Skip to content

Commit 44b7d9a

Browse files
committed
Update .pylintrc file
1 parent 079c5c3 commit 44b7d9a

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

packages/basemap/.pylintrc

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,11 @@ disable=
7676
assignment-from-none,
7777
# Allow freedom with error raises.
7878
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
8184

8285
# Enable the message, report, category or checker with the given id(s). You can
8386
# either give multiple identifier separated by comma (,) or put this option
@@ -251,12 +254,6 @@ max-line-length=99
251254
# Maximum number of lines in a module.
252255
max-module-lines=999
253256

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-
260257
# Allow the body of a class to be on the same line as the declaration if body
261258
# contains single statement.
262259
single-line-class-stmt=no
@@ -519,6 +516,6 @@ preferred-modules=
519516
[EXCEPTIONS]
520517

521518
# 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

Comments
 (0)