-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.13 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (47 loc) · 1.13 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
[project]
name = "python-base-flake"
version = "0.3.0"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [ ]
[project.scripts]
python-base-flake = "python_base_flake._cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"cruft[pyproject]>=2.16.0",
"mypy>=2.3.1",
"myst-parser>=5.1.0",
"pytest>=9.1.1",
"pytest-cov>=6.2.1",
"ruff>=0.15.22",
"sphinx>=8.2.3",
"sphinx-autoapi>=3.8.1",
]
[tool.coverage]
html.directory = "docs/generated/coverage"
report.show_missing = true
run.source_pkgs = [ "python_base_flake" ]
run.branch = true
xml.output = "docs/generated/coverage/coverage.xml"
[tool.cruft]
skip = [ ".git", "tests" ]
[tool.mypy]
check_untyped_defs = true
files = [ "src", "tests" ]
ignore_missing_imports = true
no_implicit_optional = true
pretty = true
show_error_codes = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = "--cov --cov-report html --cov-report xml"
testpaths = [ "tests" ]
[tool.ruff]
line-length = 99
src = [ "src", "tests" ]
[tool.ruff.lint.isort]
combine-as-imports = true