19 lines
517 B
TOML
19 lines
517 B
TOML
|
[tool.ruff]
|
||
|
target-version = "py311"
|
||
|
select = ["E", "F", "I", "N", "U", "ANN"]
|
||
|
ignore = [
|
||
|
"F403",
|
||
|
"E501", # line too long
|
||
|
"ANN101", # Missing type annotation for `self` in method
|
||
|
"ANN401" # Dynamically typed expressions (typing.Any) are disallowed
|
||
|
]
|
||
|
exclude = ["src/website/shared/migrations/*.py"] # auto-generated code
|
||
|
|
||
|
[tool.commitizen]
|
||
|
name = "cz_conventional_commits"
|
||
|
tag_format = "$version"
|
||
|
version_scheme = "pep440"
|
||
|
version_provider = "pep621"
|
||
|
update_changelog_on_bump = true
|
||
|
major_version_zero = true
|