-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (73 loc) · 1.82 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
[tool.poetry]
name = "portfolyo"
version = "0.6.3"
description = "Analyse and manipulate timeseries related to power and gas offtake portfolios"
authors = [
"Ruud Wijtvliet <[email protected]>",
"Sakshi Singh <[email protected]>",
"Alina Voilova <[email protected]>",
]
license = "BSD-3"
readme = "README.rst"
[tool.poetry.dependencies]
python = "^3.10"
pandas = "^2.2"
matplotlib = "^3.7.2"
pint = "^0.24"
pint-pandas = "0.6"
colorama = "^0.4.6"
holidays = "^0.32"
numpy = "^1.26.2"
tomli = "^2.0"
[tool.poetry.group.test.dependencies]
codecov = "^2.1.13"
pytest = "^7.4.1"
coverage = "^7.3.0"
pytest-cov = "^4.1.0"
pyyaml = "^6.0.1"
openpyxl = "^3.1.2"
[tool.poetry.group.docs.dependencies]
sphinx = "^7.2.6"
sphinx-autobuild = "^2021.3.14"
matplotlib = "^3.8.2"
numpydoc = "^1.6.0"
sphinx-copybutton = "^0.5.2"
sphinx-exec-code = "^0.12"
sphinx-rtd-theme = "^1.3.0"
insegel = "^1.3.1"
nbsphinx = "^0.9.3"
pandoc = "^2.3"
pip-tools = "^7.4.1"
IPython = "^8.23.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.9"
black = "^23.7.0"
pre-commit = "^3.4.0"
ipykernel = "^6.25.2"
importlib-metadata = "^4.8"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = [
"only_on_pr: marks tests as slow (select with -m only_on_pr and deselect with -m 'not only_on_pr')",
]
pythonpath = ["./tests"]
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "W"] # Equivalent to flake8's built-in codes
lint.ignore = [
"E501",
"E202",
"E226",
] # Ignored codes (e.g., for long lines or line breaks before binary operators)
exclude = ["__init__.py", "versioneer.py", "_version.py", ".venv/"]
[tool.numpydoc_validation]
checks = [
"all", # report on all checks, except the below
"EX01",
"SA01",
"ES01",
]