-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (117 loc) · 2.86 KB
/
pyproject.toml
File metadata and controls
127 lines (117 loc) · 2.86 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["ase", "numpy", "scipy", "hatchling==1.29.0", "hatch-vcs==0.5.0"]
build-backend = "hatchling.build"
[project]
name = "structuretoolkit"
description = "build, analyse and visualise atomistic structures for materials science"
authors = [
{ name = "Jan Janssen", email = "janssen@mpie.de" },
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["pyiron"]
requires-python = ">=3.10, <3.15"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"ase==3.28.0",
"numpy==2.4.3",
"scipy==1.17.1",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/pyiron/structuretoolkit"
Documentation = "https://github.com/pyiron/structuretoolkit"
Repository = "https://github.com/pyiron/structuretoolkit"
[project.optional-dependencies]
dscribe = ["dscribe==2.1.2"]
grainboundary = [
"aimsgb==1.1.1",
"pymatgen==2026.3.23",
]
pyscal = ["pyscal3==3.3.2"]
nglview = ["nglview==4.0.1"]
matplotlib = ["matplotlib==3.10.8"]
plotly = ["plotly==6.6.0"]
clusters = ["scikit-learn==1.8.0"]
symmetry = ["spglib==2.7.0"]
surface = [
"spglib==2.7.0",
"pymatgen==2026.3.23",
]
phonopy = [
"phonopy==3.4.0",
"spglib==2.7.0",
]
[tool.ruff]
exclude = [".ci_support", "tests", "setup.py", "_version.py"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-comprehensions
"C4",
# eradicate
"ERA",
# pylint
"PL",
]
ignore = [
# ignore functions in argument defaults
"B008",
# ignore exception naming
"B904",
# ignore line-length violations
"E501",
# ignore equality comparisons for numpy arrays
"E712",
# ignore bare except
"E722",
# ignore ambiguous variable name
"E741",
# ignore imports which are not at the top of a module
"PLC0415",
# Too many arguments in function definition
"PLR0913",
# Magic value used in comparison
"PLR2004",
# Too many branches
"PLR0912",
# Too many statements
"PLR0915",
]
[tool.hatch.build.hooks.vcs]
version-file = "src/structuretoolkit/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"src/structuretoolkit"
]
[tool.hatch.build.targets.wheel]
packages = [
"src/structuretoolkit"
]
[tool.hatch.version]
source = "vcs"
path = "src/structuretoolkit/_version.py"
[tool.coverage.run]
source = ["structuretoolkit"]
command_line = "-m unittest discover tests"