Skip to content

Commit

Permalink
Add configuration file for black defaults
Browse files Browse the repository at this point in the history
The `black` project decided not to support `setup.cfg`, but only
`pyproject.toml` (see psf/black#65).

In order to avoid multiple configuration places for
our `black` defaults, I added this additional configuration file to
the repo.
  • Loading branch information
konradkonrad committed May 6, 2019
1 parent 3d2fbd5 commit 396c5ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tool.black]
line-length = 99
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''

0 comments on commit 396c5ae

Please sign in to comment.