Bump mypy to 1.0 (#9684)

This commit is contained in:
Alex Waygood
2023-02-06 23:57:17 +00:00
committed by GitHub
parent f7cb7f33b2
commit efee70abfa
37 changed files with 45 additions and 167 deletions

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: ...