-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (35 loc) · 1003 Bytes
/
pyproject.toml
File metadata and controls
41 lines (35 loc) · 1003 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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "PROJECT_NAME_URL"
description = "Your project description here"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "USERNAME" }]
urls = { Homepage = "http://github.com/USERNAME/PROJECT_NAME_URL" }
scripts = { PROJECT_NAME_URL = "project_name.my_module:main" }
dependencies = [
# Add your list of production dependencies here, eg:
# "requests == 2.*",
]
optional-dependencies = { dev = [
"bandit == 1.9.*",
"build == 1.3.*",
"mypy == 1.18.*",
"pytest == 9.*",
"pytest-cov == 7.*",
"ruff == 0.14.*",
] }
[tool.setuptools.dynamic]
version = { attr = "project_name._version.__version__" }
[tool.setuptools.packages.find]
exclude = ["examples", "test"]
[tool.setuptools.package-data]
project_name = ["py.typed"]
[tool.ruff]
line-length = 120
[tool.mypy]
disable_error_code = "import-untyped"