Skip to content

Commit 2e4f9ff

Browse files
author
Anand Sanmukhani
authored
Create pyproject.toml
This adds configuration for Black code formatter
1 parent 92211af commit 2e4f9ff

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[tool.black]
2+
line-length = 100
3+
target_version = ['py37']
4+
include = '\.pyi?$'
5+
exclude = '''
6+
7+
(
8+
/(
9+
\.eggs # exclude a few common directories in the
10+
| \.git # root of the project
11+
| \.hg
12+
| \.mypy_cache
13+
| \.tox
14+
| \.venv
15+
| _build
16+
| buck-out
17+
| build
18+
| dist
19+
| docs
20+
)/
21+
)
22+
'''

0 commit comments

Comments
 (0)