-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (63 loc) · 1.14 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
force-exclude = '''
/(
| pd_core
| scripts
)\
'''
[tool.isort]
atomic = "True"
profile = "black"
skip_glob = ["pd_core*", "scripts*"]
# Added -n= for pytest concurrency with pytest-xdist plugin
[tool.pytest.ini_options]
addopts = "--maxfail=2 --verbose --cov=."
testpaths = [
"tests"
]
# Omit /builder/* so Coverage doesn't evaluate all installed packages when running on Cloud Build, etc.
[tool.coverage.run]
omit = [
"/builder/*",
"tests/*",
"venv/*",
"pd_core/*",
"base.py",
"cli/*",
"setup.py",
]
[tool.coverage.report]
show_missing = true
fail_under = 0
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.9.3"
version_files = [
"src/pandabear/__init__.py:__version__"
]
update_changelog_on_bump = true
annotated_tag = true
tag_format = "v$major.$minor.$patch$prerelease"
allow_abort = true