mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 17:37:41 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from types import ModuleType
|
||||
from typing import Dict, Optional, Any
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
class _TempModule:
|
||||
mod_name: str = ...
|
||||
@@ -14,10 +14,7 @@ class _ModifiedArgv0:
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, *args): ...
|
||||
|
||||
def run_module(mod_name: str,
|
||||
init_globals: Optional[Dict[str, Any]] = ...,
|
||||
run_name: Optional[str] = ...,
|
||||
alter_sys: bool = ...): ...
|
||||
def run_path(path_name: str,
|
||||
init_globals: Optional[Dict[str, Any]] = ...,
|
||||
run_name: str = ...): ...
|
||||
def run_module(
|
||||
mod_name: str, init_globals: Optional[Dict[str, Any]] = ..., run_name: Optional[str] = ..., alter_sys: bool = ...
|
||||
): ...
|
||||
def run_path(path_name: str, init_globals: Optional[Dict[str, Any]] = ..., run_name: str = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user