-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.19 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (47 loc) · 1.19 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
# based on https://github.com/pypa/sampleproject/blob/main/pyproject.toml
[build-system]
requires = ["setuptools", "setuptools.scm"]
build-backend = "setuptools.build_meta"
[project]
name = "myapp"
version = "4.0.0"
description = "A short CI/CD tutorial"
readme = "README.md"
requires-python = ">=3.14"
license = { file = "LICENSE.txt" }
keywords = ["ci-cd", "continuous integration", "continuous deployment"]
# TODO: adjust dependencies
dependencies = [
]
# see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
]
[dependency-groups]
testing = ["pytest", "pytest-cov"]
linting = ["ruff"]
typecheck = ["mypy"]
# configure ruff
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # bugbear
]
[tool.ruff.format]
quote-style = "single"
# configure mypy
[tool.mypy]
python_version = "3.14"
strict = true
[project.scripts]
app = 'myapp.app:main'