Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) · 2.07 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
# ================================
# Name: 'a-python-template'/pyproject.toml
# Author: 'a-matthew'/Mateusz A.
# Year: 2026
# Comments: This project can be installed using placeholder information.
# ================================
# https://peps.python.org/pep-0518/
[project]
name = "project-name"
version = "0.1.0"
authors = [
{name = "author-alias", email = "author.git@email.domain"},
]
maintainers = [
{name = "maintainer-alias", email = "maintainer.git@email.domain"},
]
description = "{short-description}"
keywords = ["{keyword-1}", "{keyword-2}"]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Operating System :: POSIX :: Linux",
]
license = "GPL-3.0-or-later" # https://packaging.python.org/en/latest/guides/licensing-examples-and-user-scenarios/
# license-files = ["LICENSE" ]
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"pre-commit~=4.5",
]
[project.urls]
Homepage = "https://github.com/project-organization/project-name"
Documentation = "https://github.com/project-organization/project-name"
Repository = "https://github.com/project-organization/project-name.git"
Issues = "https://github.com/project-organization/project-name/issues"
Changelog = "https://github.com/project-organization/project-name/releases"
[tool.ruff]
target-version = "py314" # py314
line-length = 88
indent-width = 4
[tool.ruff.format]
# Black-compatible formatting
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
docstring-code-format = false
line-ending = "auto"
[tool.ruff.lint]
# Enable the isort rules.
extend-select = ["I"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.mypy]
python_version = "3.14"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
show_error_codes = true
no_implicit_optional = true
warn_unused_ignores = true
# exclude = [{"directory-or-file-name"}]