Skip to content

Commit 77cabc0

Browse files
committed
add tox environment for formatting code with black
1 parent 717c04c commit 77cabc0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tox.ini

+7
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ commands =
9696
flake8 setup.py speed.py src
9797
black --check --line-length 79 .
9898

99+
[testenv:codeformat]
100+
basepython = python3
101+
deps =
102+
black==19.10b0
103+
commands =
104+
black --line-length 79 .
105+
99106
[flake8]
100107
exclude = src/ecdsa/test*.py
101108
# We're just getting started. For now, ignore the following problems:

0 commit comments

Comments
 (0)