mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
runtests.py: point pycln to pyproject.toml for config settings (#9202)
An oversight in #9197 that was noticed by @Avasam post-merge (thanks!)
This commit is contained in:
@@ -58,7 +58,7 @@ def main() -> None:
|
||||
|
||||
# Run formatters first. Order matters.
|
||||
print("\nRunning pycln...")
|
||||
subprocess.run([sys.executable, "-m", "pycln", path, "--all"])
|
||||
subprocess.run([sys.executable, "-m", "pycln", path, "--config=pyproject.toml"])
|
||||
print("\nRunning isort...")
|
||||
subprocess.run([sys.executable, "-m", "isort", path])
|
||||
print("\nRunning Black...")
|
||||
|
||||
Reference in New Issue
Block a user