-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
105 lines (97 loc) · 2.73 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["setuptools>=64.0.1", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pyElli"
description = "An ellipsometry analysis tool for reproducible and comprehensible building of optical models."
dynamic = ["version"]
authors = [
{ name = "Marius Müller", email = "marius.mueller@physik.uni-giessen.de" },
{ name = "Florian Dobener", email = "pyelli@schroedingerscat.org" },
]
requires-python = ">=3.8"
license = { file = "LICENSE.txt" }
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"scipy",
"numpy>=1.20",
"numpy<2.0.0;python_version<'3.10'",
"pandas>=1.0.0",
"h5py",
"pyyaml",
"importlib-resources",
"rapidfuzz",
"lark>=1.1.5",
"pint",
"chardet",
]
[project.optional-dependencies]
fitting = [
"ipython",
"ipywidgets",
"plotly",
"matplotlib",
"lmfit"
]
dev = [
"pytest",
"pytest-benchmark",
"pytest-cov",
"nbmake",
"ruff==0.4.8",
"uv",
"pre-commit",
]
[project.urls]
homepage = "https://github.com/PyEllips/pyElli/"
repository = "https://github.com/PyEllips/pyElli/"
documentation = "https://pyelli.readthedocs.io/en/latest/"
changelog = "https://github.com/PyEllips/pyElli/blob/master/CHANGELOG.md"
tracker = "https://github.com/PyEllips/pyElli/issues"
download = "https://github.com/PyEllips/pyElli/releases"
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "node-and-date"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*"]
[tool.ruff]
include = ["src/*.py", "tests/*.py"]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"PL", # pylint
"NPY201", # numpy
]
ignore = [
"E501", # Line too long ({width} > {limit} characters)
"E701", # Multiple statements on one line (colon)
"E731", # Do not assign a lambda expression, use a def
"E402", # Module level import not at top of file
"PLR0911", # Too many return statements
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
"PLR0915", # Too many statements
"PLR2004", # Magic value used instead of constant
"PLW0603", # Using the global statement
"PLW2901", # redefined-loop-name
"PLR1714", # consider-using-in
"PLR5501", # else-if-used
]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"