-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
90 lines (77 loc) · 2.24 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
[tool.poetry]
name = "spectrum_fundamentals"
version = "0.10.0"
description = "Fundamental functions, annotation pipeline and constants for oktoberfest"
authors = ["Wilhelmlab at Technical University of Munich"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/wilhelm-lab/spectrum_fundamentals"
repository = "https://github.com/wilhelm-lab/spectrum_fundamentals"
documentation = "https://spectrum-fundamentals.readthedocs.io"
packages = [
{ include = "spectrum_fundamentals" },
]
include = [
"spectrum_fundamentals/ions/ion_dict.csv",
]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14.0"
click = ">=8.0.0"
rich = ">=10.3.0"
PyYAML = ">=5.4.1"
numpy = ">=1.24.1"
pandas = ">=1.3,<3.0"
scikit-learn = "^1.5"
joblib = "^1.0.1"
moepy = "^1.1.4"
[tool.poetry.group.dev.dependencies]
pytest = ">=6.2.4"
pytest-cov = "^7.0.0"
coverage = {extras = ["toml"], version = ">=5.3"}
mypy = ">=1.19"
ruff = ">=0.4"
pre-commit = ">=4.5.1"
pre-commit-hooks = ">=4.0.1"
types-requests = ">=2.25.2"
types-attrs = ">=19.1.0"
sphinx = ">=7.0"
sphinx-autobuild = ">=2021.3.14"
sphinx-autodoc-typehints = ">=3.0"
sphinx-click = "^6.2.0"
sphinx-rtd-theme = ">=2.0"
[tool.poetry.scripts]
spectrum_fundamentals = "spectrum_fundamentals.__main__:main"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# E/W: pycodestyle F: pyflakes I: isort B: bugbear UP: pyupgrade
# Extend with S (bandit), N (pep8-naming), D (docstrings) as the codebase matures.
select = ["E", "W", "F", "I", "B", "UP"]
[tool.ruff.format]
# Matches the previous black configuration.
quote-style = "double"
indent-style = "space"
[tool.coverage.paths]
source = ["spectrum_fundamentals", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["spectrum_fundamentals"]
[tool.coverage.report]
show_missing = true
[tool.mypy]
python_version = "3.13"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"