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

@@ -75,8 +75,6 @@ def main() -> None:
pytype_result: subprocess.CompletedProcess[bytes] | None = None
# Run formatters first. Order matters.
print("\nRunning pycln...")
subprocess.run([sys.executable, "-m", "pycln", path, "--config=pyproject.toml"])
print("\nRunning ruff...")
subprocess.run([sys.executable, "-m", "ruff", path])
print("\nRunning isort...")