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

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

No files matched your search

+1 -1
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(