-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (39 loc) · 918 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
[tool.black]
line-length = 100
target-version = ['py310']
preview = true
[tool.isort]
profile = 'black'
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 100
[tool.flake8]
max-line-length = 100
max_complexity = 14
inline_quotes = 'single'
multiline_quotes = 'double'
exclude = [".tox",".git","venv"]
ignore = ['E203', 'W503']
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = [
'error',
'ignore:path is deprecated.*:DeprecationWarning:',
]
[tool.commitizen]
version_type = "semver"
name = "cz_conventional_commits"
version = "0.7.1"
tag_format = "v$version"
version_files = [
"main.py:version",
"pyproject.toml:version",
# "openapi.json:version",
"VERSION"
]
bump_message = "bump: version $current_version → $new_version"
update_changelog_on_bump = true
annotated_tag = true