module documentation
Undocumented
Class |
|
Undocumented |
Function | install |
Install a package from test-data/packages/pkg/ |
Function | parse |
Undocumented |
Function | parse |
Undocumented |
Function | test |
Undocumented |
Function | test |
Test running mypy on files that depend on PEP 561 packages. |
Function | virtualenv |
Context manager that creates a virtualenv in a temporary directory |
def install_package(pkg:
str
, python_executable: str
= sys.executable, use_pip: bool
= True, editable: bool
= False):
(source)
¶
Install a package from test-data/packages/pkg/
@contextmanager
def virtualenv(python_executable:
def virtualenv(python_executable:
str
= sys.executable) -> Iterator[ tuple[ str, str]]
:
(source)
¶
Context manager that creates a virtualenv in a temporary directory Returns the path to the created Python executable