Use ruff, not pycln, for removing unused imports (#10498)

This commit is contained in:
Alex Waygood
2023-07-22 12:14:27 +01:00
committed by GitHub
parent 464b71c810
commit 2887f60196
6 changed files with 6 additions and 20 deletions

View File

@@ -23,7 +23,7 @@ extension_descriptions = {".pyi": "stub", ".py": ".py"}
# These type checkers and linters must have exact versions in the requirements file to ensure
# consistent CI runs.
linters = {"black", "flake8", "flake8-bugbear", "flake8-noqa", "flake8-pyi", "isort", "ruff", "mypy", "pycln", "pytype"}
linters = {"black", "flake8", "flake8-bugbear", "flake8-noqa", "flake8-pyi", "isort", "ruff", "mypy", "pytype"}
def assert_consistent_filetypes(