summaryrefslogtreecommitdiff
path: root/black.toml
blob: abdef9fa029ed1eb32e6fe35f8d56e48ee3ddbd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tool.black]
required-version = "21.6b0"
line-length = "88"
skip-string-normalization = true
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
  /(
      \.eggs         # exclude a few common directories in the
    | \.git          # root of the project
    | \.hg
    | \.mypy_cache
    | \.pytest_cache
    | \.tox
    | \.venv
    | \.github
    | _build
    | htmlcov
    | benchmarks
    | examples       # No need to Black examples
    | test           # Tests are a mess, don't black them
    | test_reports
    | rdflib.egg-info
    | buck-out
    | build
    | dist
    | venv
  )/
)
'''