Unverified Commit 03fda242 authored by Jacek Galowicz's avatar Jacek Galowicz Committed by GitHub
Browse files

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

nixos/test-driver: adjust to ruff changes
parents ea2970e9 f8a88fd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ python3Packages.buildPythonApplication {
    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
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@ test_driver = ["py.typed"]
[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]]