Skip to content

Commit b1f8dca

Browse files
formatting fixes
1 parent 5969001 commit b1f8dca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mypy/errorcodes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __eq__(self, other: object) -> bool:
4545
def __hash__(self) -> int:
4646
return hash((self.code,))
4747

48+
4849
ATTR_DEFINED: Final = ErrorCode("attr-defined", "Check that attribute exists", "General")
4950
NAME_DEFINED: Final = ErrorCode("name-defined", "Check that name is defined", "General")
5051
CALL_ARG: Final[ErrorCode] = ErrorCode(

mypy/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def process_error_codes(self, *, error_callback: Callable[[str], Any]) -> None:
451451
error_callback(f"Invalid error code(s): {', '.join(sorted(invalid_codes))}")
452452

453453
self.disabled_error_codes |= {error_codes[code] for code in disabled_codes}
454-
#TODO: does this also apply for configuration files as well, or just the command line?
454+
# TODO: does this also apply for configuration files as well, or just the command line?
455455
if "all" in enabled_codes:
456456
self.enabled_error_codes = set(error_codes.values())
457457
else:

0 commit comments

Comments
 (0)