-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (73 loc) · 1.88 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
[build-system]
requires = [
"pyiron_base",
"setuptools",
"versioneer[toml]==0.29",
]
build-backend = "setuptools.build_meta"
[project]
name = "pyiron_module_template"
description = "pyiron_module_template - Your pyiron-like module."
readme = "docs/README.md"
keywords = [ "pyiron",]
requires-python = ">=3.9, <3.13"
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pyiron_base==0.8.3"
]
dynamic = [ "version",]
authors = [
{ name = "Lorem Ipsum", email = "[email protected]" },
]
[project.license]
file = "LICENSE"
[project.urls]
Homepage = "https://pyiron.org/"
Documentation = "https://pyiron_module_template.readthedocs.io"
Repository = "https://github.com/pyiron/pyiron_module_template"
[tool.versioneer]
VCS = "git"
style = "pep440-pre"
versionfile_source = "pyiron_module_template/_version.py"
parentdir_prefix = "pyiron_module_template"
tag_prefix = "pyiron_module_template-"
[tool.setuptools.packages.find]
include = [ "pyiron_module_template*",]
[tool.setuptools.dynamic.version]
attr = "pyiron_module_template.__version__"
[tool.ruff]
exclude = ["docs", "notebooks", "setup.py", "_version.py"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501"] #ignore line-length violations
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Ignore unused imports in init files -- we specify APIs this way
[tool.black]
extend-exclude = '''
(
^/docs
)
'''