-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
81 lines (72 loc) · 1.73 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
[tool.poetry]
name = "gridstatusio"
version = "0.9.0"
readme = "README.md"
description = "Python Client for GridStatus.io API"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
authors = [
"Max Kanter <kmax12@gmail.com>"
]
maintainers = [
"Max Kanter <kmax12@gmail.com>"
]
keywords = ["energy", "independent system operator"]
license = "LICENSE"
[tool.poetry.urls]
"Source Code"= "https://github.com/kmax12/gridstatusio/"
"Issue Tracker" = "https://github.com/kmax12/gridstatusio/issues"
[tool.poetry.dependencies]
python = ">=3.9, <4"
requests = "^2.32.2"
numpy = "^1.26.4"
pandas = ">1.3.0"
tqdm = "^4.66.3"
termcolor = "1.1.0"
tabulate = "^0.9.0"
urllib3 = "^2.2.2"
setuptools = "^70.0.0"
idna = "^3.7"
certifi = "^2024.7.4"
[tool.poetry.group.dev.dependencies]
pytest = "7.1.2"
pytest-xdist = "3.0.2"
pytest-rerunfailures = "10.3"
pre-commit = "2.21.0"
plotly = "^5.11.0"
kaleido = "0.2.1"
nbformat = "5.1.3"
ruff = "^0.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["gridstatusio/tests/*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.ruff]
line-length = 88
lint.ignore = []
lint.select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# flake8-quotes
"Q",
# isort
"I001"
]
src = ["gridstatusio"]
[tool.ruff.lint.isort]
known-first-party = ["gridstatusio"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]