Merge pull request #313619 from dawidd6/test-driver-ruff

nixos/test-driver: adjust to ruff changes

Changed files
+3 -3
nixos
lib
+1 -1
nixos/lib/test-driver/default.nix
···
echo -e "\x1b[32m## run mypy\x1b[0m"
mypy test_driver extract-docstrings.py
echo -e "\x1b[32m## run ruff\x1b[0m"
-
ruff .
+
ruff check .
echo -e "\x1b[32m## run black\x1b[0m"
black --check --diff .
'';
+2 -2
nixos/lib/test-driver/pyproject.toml
···
[tool.ruff]
line-length = 88
-
select = ["E", "F", "I", "U", "N"]
-
ignore = ["E501"]
+
lint.select = ["E", "F", "I", "U", "N"]
+
lint.ignore = ["E501"]
# xxx: we can import https://pypi.org/project/types-colorama/ here
[[tool.mypy.overrides]]