-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·95 lines (84 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
executable file
·95 lines (84 loc) · 2.01 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
[build-system]
requires = ["setuptools>=64.0.1", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["fuller"]
[tool.setuptools_scm]
[project]
name = "fuller"
dynamic = ["version"]
authors = [
{name = "Vincent Stimper, R. Patrick Xian"},
]
description = "Integrated computational framework for electronic band structure reconstruction and parametrization"
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy<2",
"scipy",
"matplotlib",
"poppy",
"natsort",
"symmetrize",
"tqdm",
"silx",
"tensorflow>=2",
"protobuf",
]
[project.urls]
Homepage = "https://github.com/mpes-kit/fuller"
[project.optional-dependencies]
dev = [
"ruff>=0.1.7",
"mypy>=1.6.0",
"pre-commit>=3.0.0",
]
cuda = [
"tensorflow[and-cuda]>=2",
]
examples = [
"mclahe>=1.1.0",
"mpes",
"ipywidgets",
]
[tool.pydocstyle]
convention = "google"
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"pragma: no cover",
]
[tool.ruff]
include = ["src/*.py", "tests/*.py"]
lint.select = [
"E", # pycodestyle
"W", # pycodestyle
"PL", # pylint
"F841", # unused variable
"F401", # unused imports
"ARG", # unused arguments
]
lint.ignore = [
"E701", # Multiple statements on one line (colon)
"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
"PLR5501", # else-if-used
"PLW2901", # redefined-loop-name
]
lint.fixable = ["ALL"]
line-length = 120 # change the default line length number or characters.
[tool.mypy]
strict = false
ignore_missing_imports = true
follow_imports = "silent"
no_strict_optional = true
disable_error_code = "import, annotation-unchecked"