-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (37 loc) · 910 Bytes
/
Copy pathpyproject.toml
File metadata and controls
45 lines (37 loc) · 910 Bytes
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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "age-calculator"
version = "0.1.0"
description = "A feature-rich CLI age calculator built as a small layered Python project."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Student Developer" }]
dependencies = []
[project.optional-dependencies]
dev = [
"hypothesis>=6.100",
"mypy>=1.8",
"pytest>=8.0",
"ruff>=0.5",
]
[project.scripts]
agecalc = "agecalc.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
[tool.mypy]
python_version = "3.11"
packages = ["agecalc"]
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
disallow_untyped_defs = true