forked from nick-macro/spc-spectra
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (72 loc) · 1.65 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
[tool.poetry]
name = "spc-spectra"
version = "0.6.0"
description = "Python package for reading spectroscopic data stored in the SPC file format"
license = "GPL-3.0-or-later"
readme = "README.md"
authors = [
"Rohan Isaac <[email protected]>",
"Shojiro Shibayama",
"jsburklund",
"Zhimin Zhang <[email protected]>",
"Nick Macro",
"Germain Hebert <[email protected]>",
"Kevin T. Chu <[email protected]>"
]
[tool.poetry.dependencies]
python = "^3.9,<4"
numpy = "^2"
pandas = "^2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24"
flake8 = "^7"
pre-commit = "^3"
radon = "^6"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
pdoc = "^14"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
coverage = "^7"
pylint = "^3"
pytest = "^8"
pytest-cov = "^5"
pytest-xdist = "^3"
tox = "^4"
[tool.pytest.ini_options]
minversion = "6.0"
# addopts = "-ra --doctest-modules --cov --cov-report="
addopts = "-ra --cov --cov-report="
testpaths = [
"src",
"tests"
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ALLOW_UNICODE",
"ALLOW_BYTES",
]
norecursedirs = ["docs", "extras", "spikes"]
[tool.coverage.run]
source = ["src/"]
[tool.coverage.report]
omit = ["*/tests/*"]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py37, py38, py39, py310, py311
[testenv]
whitelist_externals = poetry
commands =
poetry install -v
poetry run pytest -n auto --cov-report=term-missing
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"