-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
91 lines (79 loc) · 2.21 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = "debtcloset"
version = "0.4.2"
description = "Creation and maintenance of `exclude` file lists for common code quality tools."
authors = [{ name = "Zach Kurtz", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"dummio >=1.5.0",
"listwrap >=0.0.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pre-commit==4.0.1",
"pyright==1.1.391",
"ruff==0.8.5",
"pytest==8.3.4",
"bump-my-version>=0.31.1",
]
[tool.uv]
package = true
[tool.bumpversion]
current_version = "0.4.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = "--no-verify"
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[project.urls]
Source = "https://github.com/zkurtz/debtcloset"
[tool.pytest.ini_options]
testpaths = ["tests",]
[tool.pyright]
include = ["debtcloset", "tests"]
exclude = [
".venv/*",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# ruff defaults:
"E4", "E7", "E9", "F",
# additional rule groups:
"I", # flake8-import-order
"TID", # flake8-tidy-imports
"D", # google-style docstrings
]
ignore = [
"D202", # would require one blank line after the last section of a multi-line docstring
"D203", # would require one blank line at start of class docstring
"D213", # would require multi-line docstring to start with a hard return
"D401", # would require imperative mood in docstring
"D413", # would put blank line at end of each multiline docstring
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["D104"] # would require module-level documentation
"test_*.py" = ["D"] # would put requirements on docstrings in test files