Skip to content

Commit b6a12df

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mypy/config_parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@ def set_strict_flags() -> None:
682682
# 'enable_error_code' fields, usually empty, which overwrite the old ones),
683683
# we have to manipulate them specially.
684684
# This could use a refactor, but so could the whole subsystem.
685-
assert isinstance(neec:=new_sections.get("enable_error_code", []), list)
686-
assert isinstance(eec:=sections.get("enable_error_code", []), list)
687-
assert isinstance(ndec:=new_sections.get("disable_error_code", []), list)
688-
assert isinstance(dec:=new_sections.get("disable_error_code", []), list)
685+
assert isinstance(neec := new_sections.get("enable_error_code", []), list)
686+
assert isinstance(eec := sections.get("enable_error_code", []), list)
687+
assert isinstance(ndec := new_sections.get("disable_error_code", []), list)
688+
assert isinstance(dec := new_sections.get("disable_error_code", []), list)
689689
new_sections["enable_error_code"] = list(set(neec + eec))
690690
new_sections["disable_error_code"] = list(set(ndec + dec))
691691
sections.update(new_sections)

0 commit comments

Comments
 (0)