Skip to content

Commit

Permalink
Use black directly to avoid slow wrapper (#2289)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Sep 12, 2023
1 parent 13f896d commit 244518b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 90 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def format(session):
session.run("python", "utils/run-unasync.py")
session.run("isort", "--profile=black", *SOURCE_FILES)
session.run("flynt", *SOURCE_FILES)
session.run("python", "utils/run-black.py", *SOURCE_FILES)
session.run("black", *SOURCE_FILES)
session.run("python", "utils/license-headers.py", "fix", *SOURCE_FILES)

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

session.run("isort", "--check", "--profile=black", *SOURCE_FILES)
session.run("python", "utils/run-black.py", "--check", *SOURCE_FILES)
session.run("black", "--check", *SOURCE_FILES)
session.run("flake8", *SOURCE_FILES)
session.run("python", "utils/license-headers.py", "check", *SOURCE_FILES)

Expand Down
88 changes: 0 additions & 88 deletions utils/run-black.py

This file was deleted.

0 comments on commit 244518b

Please sign in to comment.