-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
87 lines (76 loc) · 1.81 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=7",
]
build-backend = "setuptools.build_meta"
[project]
name = "python-template" # Please revise this line.
dynamic = ["version"]
description = "A Python template." # Please revise this line.
authors = [
{ name = "Jinzhe Zeng", email = "[email protected]"},
]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
]
requires-python = ">=3.9"
readme = "README.md"
keywords = [
]
[project.scripts]
[project.urls]
repository = "https://github.com/njzjz/python-template" # Please revise this line.
[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
]
[tool.setuptools.packages.find]
include = ["python_template*"] # Please revise this line.
[tool.setuptools_scm]
version_file = "python_template/_version.py" # Please revise this line.
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"FBT001",
"FBT002",
"N803",
"FA100",
"S603",
"ANN101",
"ANN102",
"C901",
"E501",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
required-imports = [
"from __future__ import annotations",
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = [
"S101", # asserts allowed in tests...
"ANN",
"D101",
"D102",
]
[tool.coverage.report]
include = ["python_template/*"] # Please revise this line.