-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (67 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
79 lines (67 loc) · 1.86 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 = "my-pkg" # todo: change to your package name
dynamic = ["version"]
description = ""
authors = [
{ name = "DanielAvdar", email = "66269169+DanielAvdar@users.noreply.github.com" }, # todo: change to your name and email
]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
keywords = [
"python"
]
dependencies = []
[dependency-groups]
dev = [
"pytest>=8.3.5",
"hypothesis>=6.23.3",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.26.0",
"mypy==1.19.1",
"pytest-parametrization>=2022",
]
docs = [
"sphinx>=8.2.0; python_version >= '3.11'",
"sphinx>=7.0.0; python_version < '3.11'",
"sphinx-rtd-theme>=3.0.2",
]
[tool.hatch.build.targets.sdist]
only-include = ["my_pkg", ] # todo: change to your package name
source = "."
[tool.hatch.build.targets.wheel]
only-include = ["my_pkg", ] # todo: change to your package name
source = "."
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[project.optional-dependencies]
[tool.ruff]
line-length = 120
include = ["pyproject.toml", "tests/**", ]
[tool.ruff.lint]
select = ["F", "B", "I", "F", "W", "E", "A", "N", "D","DOC"]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "DOC"]
"docs/*" = ["D", "DOC"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_optional = false