forked from tophat/ormar-postgres-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (46 loc) · 831 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
45
46
47
48
49
[tool.black]
line-length = 88
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.vscode
| \.venv
| ormar-postgres-extensions.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.isort]
force_grid_wrap = 2
known_first_party = 'ormar-postgres-extensions'
profile = 'black'
skip = '''
.eggs,
.mypy_cache,
.venv,
ormar-postgres-extensions.venv,
build,
dist,
'''
[tool.coverage.run]
source = [
'./src',
]
[tool.coverage.report]
exclude_lines = [
'pragma: no-cover',
'if TYPE_CHECKING:',
'@abstractmethod',
]