Skip to content

Commit 244518b

Browse files
authored
Use black directly to avoid slow wrapper (#2289)
1 parent 13f896d commit 244518b

File tree

2 files changed

+2
-90
lines changed

2 files changed

+2
-90
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def format(session):
6161
session.run("python", "utils/run-unasync.py")
6262
session.run("isort", "--profile=black", *SOURCE_FILES)
6363
session.run("flynt", *SOURCE_FILES)
64-
session.run("python", "utils/run-black.py", *SOURCE_FILES)
64+
session.run("black", *SOURCE_FILES)
6565
session.run("python", "utils/license-headers.py", "fix", *SOURCE_FILES)
6666

6767
lint(session)
@@ -72,7 +72,7 @@ def lint(session):
7272
session.install("flake8", "black", "mypy", "isort", "types-requests")
7373

7474
session.run("isort", "--check", "--profile=black", *SOURCE_FILES)
75-
session.run("python", "utils/run-black.py", "--check", *SOURCE_FILES)
75+
session.run("black", "--check", *SOURCE_FILES)
7676
session.run("flake8", *SOURCE_FILES)
7777
session.run("python", "utils/license-headers.py", "check", *SOURCE_FILES)
7878

utils/run-black.py

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)