Skip to content

Commit

Permalink
Pin format requirements for the project
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Jul 3, 2023
1 parent d2fef11 commit ea01274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions format-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
black==23.3.0
isort==5.12.0
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ commands = pytest --cov=h11 --cov-config=.coveragerc h11

[testenv:format]
basepython = python3.10
deps =
black
isort
deps = -r{toxinidir}/format-requirements.txt
commands =
black --check --diff h11/ bench/ examples/ fuzz/
isort --check --diff --profile black --dt h11 bench examples fuzz
Expand Down

0 comments on commit ea01274

Please sign in to comment.