-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
79 lines (69 loc) · 1.92 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
[project]
name = "python-quick-starter"
version = "0.1.0"
description = "A professional Python project template with src layout, uv, pytest, ruff, black, and CI."
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
authors = [
{ name = "Your Name", email = "you@example.com" }
]
keywords = ["template", "python", "uv", "pytest", "ruff", "black"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/AstroAir/python-quick-starter"
Repository = "https://github.com/AstroAir/python-quick-starter.git"
Issues = "https://github.com/AstroAir/python-quick-starter/issues"
[project.scripts]
python-quick-starter = "python_quick_starter.cli:main"
[build-system]
requires = ["hatchling>=1.22"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/python_quick_starter"]
[dependency-groups]
dev = [
"pytest>=8.4",
"pytest-cov>=5.0",
"ruff>=0.6",
"black>=24.8",
"mypy>=1.11",
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.26",
"mkdocs-git-revision-date-localized-plugin>=1.2",
"pre-commit>=4.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
pythonpath = ["src"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = []
[tool.black]
line-length = 100
target-version = ["py312"]
[tool.mypy]
python_version = "3.12"
strict = false
warn_unused_configs = true
warn_unused_ignores = true
disallow_untyped_defs = true
no_implicit_optional = true
check_untyped_defs = true
show_error_codes = true
exclude = ["tests/"]