-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (112 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (112 loc) · 2.2 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["uv_build<=0.12.0"]
build-backend = "uv_build"
[project]
name = "classify"
version = "2025.10.1"
description = "Generate concrete Class documentation for Python Classes"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{name = "George Hickman", email = "george@ghickman.co.uk"},
]
license_expression = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Documentation",
]
dependencies = [
"attrs>=25.4.0",
"click>=8.3.0",
"jinja2>=2.7",
"rich>=14.2.0",
"structlog>=25.5.0",
]
[project.scripts]
classify = "classify.main:run"
[project.urls]
Repository = "https://github.com/ghickman/classify/"
Changelog = "https://github.com/ghickman/classify/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"coverage>=7.11.0",
"django>=5.2.15",
"httpx>=0.28.1",
"ipdb>=0.13.13",
"nox>=2025.10.16",
"nox-uv>=0.6.3",
"pytest>=9.0.3",
"pytest-env>=1.2.0",
"ruff>=0.14.2",
"toml-sort>=0.24.3",
"ty>=0.0.1a24",
]
[tool.coverage.html]
show_contexts = true
[tool.coverage.report]
fail_under = 100
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
relative_files = true
dynamic_context = "test_function"
omit = [
"src/classify/__main__.py",
"src/classify/contrib/*",
"src/classify/django.py",
"tests/dummy_class.py",
]
source = ["src", "tests"]
[tool.pytest.ini_options]
addopts = "--tb=native"
env = [
"TEST_MODE=1",
]
[tool.ruff]
line-length = 88
extend-exclude = [
"src/classify/contrib/django/",
"src/classify/templates",
]
src = ["src", "tests"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN",
"C90",
"COM",
"D",
"E501",
"ERA001",
"FBT",
"FIX",
"PLR0913",
"S",
"SIM108",
"T20",
"TD002",
"TD003",
"TID252",
]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.lint.per-file-ignores]
"tests/import_error.py" = [
"EM101",
"TRY002",
"TRY003",
]
[tool.tomlsort]
spaces_before_inline_comment = 2
trailing_comma_inline_array = true
sort_first = [
"build-system",
"project",
]
[tool.ty.src]
include = ["src", "tests"]