Add some ruff autofixes to CI (#10458)

This commit is contained in:
Alex Waygood
2023-07-20 13:41:52 +01:00
committed by GitHub
parent a04cb3b058
commit 79e092e133
8 changed files with 62 additions and 6 deletions

View File

@@ -77,6 +77,8 @@ def main() -> 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...")
subprocess.run([sys.executable, "-m", "isort", path])
print("\nRunning Black...")