-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (41 loc) · 994 Bytes
/
pyproject.toml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
# Note that you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python.
# Multiline strings are treated as verbose regular expressions by Black.
# Use [ ] to denote a significant space character.
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38']
# include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
# pytest coverage (you need pytest-cov installed, then run 'pytest --cov')
[tool.coverage.run]
source = ['.']
omit = [
# omit anything in a .local directory anywhere
'*/.local/*',
'__init__.py',
# omit anything that is a test
'tests/*',
'test/*',
'*/tests/*',
'*/tests/*',
# omit anything in a .venv directory anywhere
'.venv/*'
]
# pytest coverage (you need pytest-cov installed, then run 'pytest --cov')
[tool.coverage.report]
skip_empty = true
show_missing = false