Bump mypy to 1.0 (#9684)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-02-06 15:57:17 -08:00
1 parent f7cb7f33b2
commit efee70abfa
37 files changed
+45 -167

No files matched your search

+5
View File
@@ -65,4 +65,9 @@ if sys.platform == "darwin":
def open(self, url: str, new: int = 0, autoraise: bool = True) -> bool: ...
class MacOSXOSAScript(BaseBrowser): # In runtime this class does not have `name` and `basename`
if sys.version_info >= (3, 11):
def __init__(self, name: str = "default") -> None: ...
else:
def __init__(self, name: str) -> None: ...
def open(self, url: str, new: int = 0, autoraise: bool = True) -> bool: ...