Skip to content

Commit 8d453af

Browse files
committed
Set up and configure Black with current code style
1 parent 40d825a commit 8d453af

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tool.black]
2+
line-length = 99
3+
target-version = ['py36']
4+
skip-string-normalization = true

requirements-dev.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
black~=21.4b1; platform_python_implementation != "PyPy"
12
flake8
23
flake8-docstrings
34
hacking

requirements-dev.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
#
55
# pip-compile requirements-dev.in
66
#
7+
appdirs==1.4.4
8+
# via black
79
attrs==20.3.0
810
# via pytest
11+
black==21.4b1 ; platform_python_implementation != "PyPy"
12+
# via -r requirements-dev.in
913
certifi==2020.12.5
1014
# via requests
1115
chardet==4.0.0
1216
# via requests
1317
click==7.1.2
1418
# via
19+
# black
1520
# pip-tools
1621
# safety
1722
dparse==0.5.1
@@ -33,11 +38,15 @@ mccabe==0.6.1
3338
# via flake8
3439
mock==4.0.3
3540
# via -r requirements-dev.in
41+
mypy-extensions==0.4.3
42+
# via black
3643
packaging==20.9
3744
# via
3845
# dparse
3946
# pytest
4047
# safety
48+
pathspec==0.8.1
49+
# via black
4150
pep517==0.10.0
4251
# via pip-tools
4352
pip-tools==6.1.0
@@ -58,6 +67,8 @@ pytest==6.2.3
5867
# via -r requirements-dev.in
5968
pyyaml==5.4.1
6069
# via dparse
70+
regex==2021.4.4
71+
# via black
6172
requests==2.25.1
6273
# via
6374
# responses
@@ -72,6 +83,7 @@ snowballstemmer==2.1.0
7283
# via pydocstyle
7384
toml==0.10.2
7485
# via
86+
# black
7587
# dparse
7688
# pep517
7789
# pytest

0 commit comments

Comments
 (0)