diff --git a/nixos/lib/test-driver/default.nix b/nixos/lib/test-driver/default.nix index cf60ebf9b063..35471f74949c 100644 --- a/nixos/lib/test-driver/default.nix +++ b/nixos/lib/test-driver/default.nix @@ -66,15 +66,14 @@ python3Packages.buildPythonApplication { nativeCheckInputs = with python3Packages; [ mypy ruff - black ]; checkPhase = '' echo -e "\x1b[32m## run mypy\x1b[0m" mypy test_driver extract-docstrings.py - echo -e "\x1b[32m## run ruff\x1b[0m" + echo -e "\x1b[32m## run ruff check\x1b[0m" ruff check . - echo -e "\x1b[32m## run black\x1b[0m" - black --check --diff . + echo -e "\x1b[32m## run ruff format\x1b[0m" + ruff format --check --diff . ''; } diff --git a/nixos/lib/test-driver/pyproject.toml b/nixos/lib/test-driver/pyproject.toml index 714139bc1b25..fe2ce75fd632 100644 --- a/nixos/lib/test-driver/pyproject.toml +++ b/nixos/lib/test-driver/pyproject.toml @@ -35,11 +35,6 @@ ignore_missing_imports = true module = "junit_xml.*" ignore_missing_imports = true -[tool.black] -line-length = 88 -target-version = ['py39'] -include = '\.pyi?$' - [tool.mypy] warn_redundant_casts = true disallow_untyped_calls = true