Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (78 loc) · 2.06 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (78 loc) · 2.06 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = ["flit_core>=4,<5"]
build-backend = "flit_core.buildapi"
[project]
name = "example_package"
dynamic = ["version"]
description = "Short description of your package"
authors = [
{ name = "Your Name", email = "you@example.com" },
]
maintainers = [
{ name = "Your Name", email = "you@example.com" }
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.12"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
]
keywords = ["template", "python", "package"]
dependencies = [
# Add runtime dependencies here (empty for template)
]
[project.urls]
Homepage = "https://github.com/CCPBioSim/Python-Template/"
Repository = "https://github.com/CCPBioSim/Python-Template.git"
Documentation = "https://Python-Template.github.io/"
#
# Optional dependency groups
#
[project.optional-dependencies]
testing = [
"pytest>=9.0,<10.0",
"pytest-cov>=7.0,<8.0"
]
pre-commit = [
"pre-commit>=4.5,<5.0",
"ruff>=0.15.2,<1.0",
"pylint>=4.0,<5.0",
"rstcheck>=6.2,<7.0"
]
docs = [
"sphinx>=9,<10",
"sphinx-autoapi>=3.8,<4.0",
"ccpbiosim-sphinx-theme>=1.3.4,<2.0",
"markupsafe>=3.0,<4.0"
]
# Run `example-cli` mapped to a Python function
[project.scripts]
# example-cli = "example_package.cli:main" # Uncomment and modify if you add CLI scripts
#
# Ruff configuration inside pyproject (recommended)
#
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
#
# Pytest configuration
#
[tool.pytest.ini_options]
minversion = "9.0"
testpaths = ["tests"]
addopts = "-vv -ra"