Refactor code for improved readability and consistency
CI / lint-test-build (push) Successful in 54s
CI / lint-test-build (push) Successful in 54s
- Cleaned up multiline statements and removed unnecessary line breaks in various files. - Ensured consistent formatting in function definitions and calls across the codebase. - Updated docstrings and comments for clarity where applicable. - Removed trailing newlines in module docstrings. - Enhanced logging statements for better clarity in maintenance tasks.
This commit is contained in:
@@ -11,13 +11,9 @@ import pathlib
|
||||
import pytest
|
||||
|
||||
|
||||
def pytest_ignore_collect(
|
||||
collection_path: pathlib.Path, config: pytest.Config
|
||||
) -> bool:
|
||||
def pytest_ignore_collect(collection_path: pathlib.Path, config: pytest.Config) -> bool:
|
||||
"""Skip integration tests unless --integration is passed."""
|
||||
if "integration" in str(collection_path) and not config.getoption(
|
||||
"--integration", False
|
||||
):
|
||||
if "integration" in str(collection_path) and not config.getoption("--integration", False):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user