mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Ruff: Add pylint (#1277)
This commit is contained in:
@@ -79,8 +79,8 @@ def _set_version_info(version_from_interpreter: str):
|
||||
YYYY.MM.m(m).releaselevel
|
||||
Year, Month, and Minor should be integers; releaselevel can be any string
|
||||
"""
|
||||
global __version__
|
||||
global version_info
|
||||
global __version__ # noqa: PLW0603
|
||||
global version_info # noqa: PLW0603
|
||||
|
||||
__version__ = version_from_interpreter
|
||||
|
||||
|
||||
@@ -78,10 +78,9 @@ def pytest_configure(config):
|
||||
- cd tests/integration; pytest
|
||||
"""
|
||||
pytest.fail(msg)
|
||||
else:
|
||||
if config.option.dev:
|
||||
config.option.headed = True
|
||||
config.option.no_fake_server = True
|
||||
elif config.option.dev:
|
||||
config.option.headed = True
|
||||
config.option.no_fake_server = True
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
|
||||
Reference in New Issue
Block a user