mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 03:03:17 +01:00
Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
@@ -69,7 +69,7 @@ def test_skip_pip_mutually_exclusive(mock_exit) -> None:
|
||||
"""Test --skip-pip and --skip-pip-package are mutually exclusive."""
|
||||
|
||||
def parse_args(*args):
|
||||
with patch("sys.argv", ["python"] + list(args)):
|
||||
with patch("sys.argv", ["python", *args]):
|
||||
return main.get_arguments()
|
||||
|
||||
args = parse_args("--skip-pip")
|
||||
|
||||
Reference in New Issue
Block a user