-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
38 lines (32 loc) · 973 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
[tool.black]
line-length = 100
target-version = ['py38']
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.pyright]
reportMissingTypeArgument = true # Report generic classes used without type arguments
strictListInference = true # Use union types when inferring types of lists elements, instead of Any
exclude = [
"**/node_modules",
"**/__pycache__",
"experimental", # Exclude experimental directory
"package/python/typestubs",
]
[tool.pytest]
pythonpath = ["package/python"]
testpaths = "tests"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.21.0"
tag_format = "$version"
version_scheme = "semver2"
version_files = ["setup.py", "package/python/cyyrus/__version__.py"]
update_changelog_on_bump = false # Changelogs are disabled
[tool.commitizen.change_type_map]
build = "MAJOR"
release = "MAJOR"
[tool.commitizen.change_type_order]
BREAKING = 0
MAJOR = 1
MINOR = 2
PATCH = 3