-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (49 loc) · 1.36 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
# based on https://github.com/pypa/sampleproject/blob/main/pyproject.toml
[build-system]
requires = ["setuptools", "setuptools.scm"]
build-backend = "setuptools.build_meta"
[project]
# TODO: adjust myapp. This name *must* match your package's name on PyPI and TestPyPI if you're deploying to them
name = "myapp"
# the version is automatically determined using setuptools.scm
dynamic = ["version"]
# TODO: adjust description
description = ""
readme = "README.md"
requires-python = ">=3.14"
license-files = ["LICEN[CS]E"]
# TODO: adjust keywords
keywords = []
# 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",
]
# configure ruff
[tool.ruff]
line-length = 120
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
# configurations for setuptools-scm. This section is required for the project to be built correctly
[tool.setuptools_scm]
[project.scripts]
app = 'myapp.app:main'