mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 11:32:07 +08:00
Replace isort with Ruff (#10912)
This commit is contained in:
@@ -83,9 +83,7 @@ def main() -> None:
|
||||
|
||||
# Run formatters first. Order matters.
|
||||
print("\nRunning Ruff...")
|
||||
subprocess.run([sys.executable, "-m", "ruff", path])
|
||||
print("\nRunning isort...")
|
||||
subprocess.run([sys.executable, "-m", "isort", path])
|
||||
subprocess.run([sys.executable, "-m", "ruff", "check", path])
|
||||
print("\nRunning Black...")
|
||||
black_result = subprocess.run([sys.executable, "-m", "black", path])
|
||||
if black_result.returncode == 123:
|
||||
|
||||
Reference in New Issue
Block a user