forked from gridstatus/gridstatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
132 lines (120 loc) · 2.79 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[project]
name = "gridstatus"
readme = { file = "README.md", content-type = "text/markdown" }
description = "API to access energy data"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
authors = [
{name="Max Kanter", email="kmax12@gmail.com"}
]
maintainers = [
{name="Max Kanter", email="kmax12@gmail.com"}
]
keywords = ["energy", "independent system operator"]
license = {file = "LICENSE"}
requires-python = ">=3.7,<4"
dependencies = [
"requests >= 2.28.1",
"pandas >= 1.3.0",
"beautifulsoup4 >= 4.8.13",
"tabulate >= 0.8.10",
"tqdm >= 4.64.1",
"openpyxl >= 3.0.10",
"tabula-py >= 2.5.1",
"lxml >= 4.9.1",
"plotly >= 5.11.0",
]
[project.urls]
"Source Code"= "https://github.com/kmax12/gridstatus/"
"Changes" = "https://github.com/kmax12/gridstatus/blob/main/CHANGELOG.md"
"Issue Tracker" = "https://github.com/kmax12/gridstatus/issues"
[project.optional-dependencies]
test = [
"pytest == 7.1.2",
"pytest-xdist == 3.0.2",
"pytest-rerunfailures == 10.3",
]
dev = [
"ruff == 0.0.202",
"black[jupyter] == 22.12.0",
"pre-commit == 2.21.0",
]
docs = [
"ipython == 8.4.0",
"jupyter == 1.0.0",
"matplotlib == 3.5.2",
"sphinx~=4.0",
"sphinx-book-theme == 0.3.3",
"sphinx-inline-tabs == 2022.1.2b11",
"sphinx-copybutton == 0.5.0",
"myst-nb == 0.17.1",
"sphinx_design",
"sphinxext-opengraph",
"sphinx-thebe",
"sphinx_togglebutton",
"sphinx-favicon",
"sphinx-autoapi",
"plotly",
"kaleido",
"sphinxext-opengraph"
]
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "gridstatus.version.__version__"}
[tool.setuptools.packages.find]
namespaces = true
[tool.setuptools.package-data]
"*" = [
"LICENSE",
"README.md",
]
[tool.setuptools.exclude-package-data]
"*" = [
"* __pycache__",
"*.py[co]",
]
[tool.pytest.ini_options]
testpaths = [
"gridstatus/tests/*"
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.black]
line-length = 88
target-version = ['py311']
[build-system]
requires = [
"setuptools >= 61",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 88
ignore = []
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# flake8-quotes
"Q",
# isort
"I001"
]
src = ["gridstatus"]
[tool.ruff.isort]
known-first-party = ["gridstatus"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]