Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (58 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (58 loc) · 1.81 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
[project]
name = "pyppms"
description = "A Python package to communicate with Stratocore's PUMAPI."
readme = "README.md"
authors = [
{ name = "Niko Ehrenfeuchter", email = "nikolaus.ehrenfeuchter@unibas.ch" },
{ name = "Laurent Guerard", email = "laurent.guerard@unibas.ch" },
]
version = "0.0.0"
requires-python = ">=3.11,<4"
license = "GPLv3"
keywords = ["ppms", "pumapi", "booking-system", "reservation-system"]
dependencies = [
"requests (>=2.34.2,<3.0.0)",
"loguru (>=0.7.3,<0.8.0)",
"pandas (>=3.0.5,<4.0.0)",
]
[tool.poetry]
name = "pyppms"
version = "0.0.0"
documentation = "https://imcf.one/apidocs/pyppms/pyppms.html"
homepage = "https://pypi.org/project/pyppms/"
repository = "https://github.com/imcf/pyppms"
[tool.poetry.group.dev.dependencies]
pdoc = "^16.0.0"
pytest = "^9.1.1"
pytest-cov = "^7.1.0"
pyyaml = "^6.0.3"
ruff = "^0.16.1"
ipython = "^9.16.1"
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
[tool.poetry-dynamic-versioning]
enable = true
[tool.pytest.ini_options]
addopts = "-rs -vv --cov=pyppms --cov-report html --maxfail=1"
markers = [
"online: enables tests requiring connection to a real PUMAPI (as opposed to a local cache)",
]
[tool.ruff.lint]
# exclude = [
# "tests/foo/*"
# ]
select = [
"D",
"D212", # summary lines must be on the first physical line of the docstring
"D401", # imperative mood for all docstrings
"D415", # summary line has to end in a punctuation mark
"D417", # require documentation for _all_ function parameters
]
ignore = [
"D202", # no blank lines allowed after function docstring
## D211 conflicts with ruff's formatting as of 2025-04-14, so don't use it:
# "D211", # no blank lines allowed before class docstring
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"