-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.77 KB
/
pyproject.toml
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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools >= 61", "setuptools_scm>=7"]
[project]
classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
dependencies = [] # TODO: Add dependencies
dynamic = ["version"]
license = {text = "MIT"} # TODO: Choose license
name = "minimal_python_project_skeleton" # TODO: Change package name
readme = "README.md"
requires-python = ">=3.7, <3.12"
[project.optional-dependencies]
develop = [
'minimal_python_project_skeleton[test]', # TODO: Change package name
'commitizen',
'ipykernel',
'pre-commit',
'pylsp-rope',
'python-lsp-ruff',
'python-lsp-server[all]',
'ruff'
]
docs = [
'pdoc'
]
test = [
'pytest',
'pytest-xdist'
]
[project.urls]
Changelog = "https://github.com/MArpogaus/minimal_python_project_skeleton/blob/dev/CHANGELOG.md" # TODO: Change project repo
Documentation = "https://marpogaus.github.io/minimal_python_project_skeleton" # TODO: Change project repo
Issues = "https://github.com/MArpogaus/minimal_python_project_skeleton/issues" # TODO: Change project repo
Repository = "https://github.com/MArpogaus/minimal_python_project_skeleton" # TODO: Change project repo
[tool.commitizen]
major_version_zero = true
name = "cz_conventional_commits"
tag_format = "v$version"
update_changelog_on_bump = true
version_provider = "scm"
version_scheme = "pep440"
[tool.ruff]
indent-width = 4
line-length = 88
target-version = "py37"
[tool.ruff.lint]
select = ["I", "E", "F"]
[tool.setuptools_scm]
# https://stackoverflow.com/a/74404703
# omits local version, useful because pypi does not support it
local_scheme = "no-local-version"