-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (43 loc) · 936 Bytes
/
pyproject.toml
File metadata and controls
51 lines (43 loc) · 936 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
46
47
48
49
50
51
[project]
name = "project"
version = "0.1.0"
description = "Python Project Template"
readme = "docs/README.md"
authors = [{name = "Amr Abed", email = ""}]
license = {text = "MIT"}
requires-python = ">=3.12"
dependencies = [
"click>=8.1.8",
]
[project.scripts]
app = "project.app:main"
rename = "scripts.rename:main"
[dependency-groups]
dev = [
"pytest>=9.0.1",
"ruff>=0.15.13",
"coverage>=7.14.0",
"pre-commit>=4.0.1",
"pyright>=1.1.391",
]
docs = [
"mkdocs>=1.6.1",
"mkdocstrings[python]>=1.0.4",
"mkdocs-material>=9.6.20",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "I", "S"]
[tool.coverage.run]
branch = true
source = ["project"]
[tool.coverage.report]
omit = ["tests/*"]
# fail_under = 90
[tool.pyright]
exclude = ["**/__pycache__", "**/.pytest_cache", ".venv"]
reportMissingImports = "error"