-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (72 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
84 lines (72 loc) · 2.17 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "piezod"
version = "0.8.3"
description = "Modeling and optimization of piezoresistive and piezoelectric sensors and actuators"
readme = "README.md"
license = "GPL-3.0-or-later"
authors = [
{ name = "Joseph C. Doll" }
]
keywords = ["MEMS", "piezoresistive", "piezoelectric", "cantilever", "sensor", "optimization"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.12"
dependencies = [
"numpy>=1.20.0",
"scipy>=1.7.0",
"matplotlib>=3.4.0",
"addcopyfighandler>=2.0.0",
"h5py>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"ty>=0.0.14",
]
[project.urls]
Homepage = "https://github.com/MicrosystemsLab/PiezoD"
Repository = "https://github.com/MicrosystemsLab/PiezoD"
[tool.hatch.build.targets.sdist]
exclude = [
"archive/",
"examples/",
]
[tool.hatch.build.targets.sdist.force-include]
"src/piezod/data/ionImplantLookupTable.h5" = "src/piezod/data/ionImplantLookupTable.h5"
[tool.hatch.build.targets.wheel]
sources = ["src"]
[tool.hatch.build.targets.wheel.force-include]
"src/piezod/data/ionImplantLookupTable.h5" = "piezod/data/ionImplantLookupTable.h5"
"src/piezod/default.mplstyle" = "piezod/default.mplstyle"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "SIM", "C4", "ISC", "PIE"]
ignore = [
"E741", # Allow I, l, O as variable names (physics notation)
"SIM108", # Allow if/else blocks instead of ternary (more readable with comments)
]
[tool.ruff.lint.per-file-ignores]
"cantilever_piezoelectric.py" = ["E501"] # Lookup tables exceed line length
[tool.pytest.ini_options]
testpaths = ["tests"]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"ty>=0.0.14",
]