Skip to content

Commit ea01274

Browse files
authored
Pin format requirements for the project
1 parent d2fef11 commit ea01274

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

format-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
black==23.3.0
2+
isort==5.12.0

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ commands = pytest --cov=h11 --cov-config=.coveragerc h11
1616

1717
[testenv:format]
1818
basepython = python3.10
19-
deps =
20-
black
21-
isort
19+
deps = -r{toxinidir}/format-requirements.txt
2220
commands =
2321
black --check --diff h11/ bench/ examples/ fuzz/
2422
isort --check --diff --profile black --dt h11 bench examples fuzz

0 commit comments

Comments
 (0)