Skip to content

Commit a9c6318

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

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4896,7 +4896,7 @@ def infer_context_dependent(
48964896

48974897
@staticmethod
48984898
def is_notimplemented(t: ProperType) -> Type:
4899-
return (isinstance(t, Instance) and t.type.fullname == "builtins._NotImplementedType")
4899+
return isinstance(t, Instance) and t.type.fullname == "builtins._NotImplementedType"
49004900

49014901
@classmethod
49024902
def erase_notimplemented(cls, t: ProperType) -> Type:

test-data/unit/check-overloading.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6942,4 +6942,3 @@ reveal_type(a and int()) # N: Revealed type is "Union[__main__.A, builtins.int]
69426942
reveal_type(int() or a) # N: Revealed type is "Union[builtins.int, __main__.A]"
69436943

69446944
[builtins fixtures/notimplemented.pyi]
6945-

0 commit comments

Comments
 (0)