Skip to content

Commit 60ab748

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9130edf commit 60ab748

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mypy/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,8 +1464,9 @@ def _bad_error_code_flags(msg: str):
14641464
# Processing error codes after plugins have loaded since plugins may
14651465
# register custom error codes that we don't know about until plugins
14661466
# have loaded.
1467-
options._on_plugins_loaded = \
1468-
lambda: options.process_error_codes(error_callback=_bad_error_code_flags)
1467+
options._on_plugins_loaded = lambda: options.process_error_codes(
1468+
error_callback=_bad_error_code_flags
1469+
)
14691470

14701471
# Compute absolute path for custom typeshed (if present).
14711472
if options.custom_typeshed_dir is not None:

0 commit comments

Comments
 (0)