forked from electricitymaps/electricitymaps-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (91 loc) · 2.3 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
[tool.poetry]
name = "electricitymap-contrib"
version = "0.1.0"
description = ""
authors = ["Electricity Maps team <app@electricityMaps.com>"]
packages = [
{ include = "electricitymap" }
]
include = ["config/*.json"]
[tool.poetry.dependencies]
python = '>= 3.8, < 4.0'
pydantic = "^1.9.0"
arrow = {version="0.16.0", optional=true}
beautifulsoup4 = {version="~4.6.0", optional=true}
demjson3 = {version="^3.0.5", optional=true}
freezegun = {version="^0.3.15", optional=true}
html5lib = {version = "^1.1", optional = true}
imageio = {version="^2.18.0", optional=true}
lxml = {version="^4.9.1", optional=true}
mock = {version="^2.0.0", optional=true}
opencv-python = {version="4.6.0.66", optional=true}
pandas = {version="^1.4.4", optional=true}
Pillow = {version="^9.1.1", optional=true}
pytesseract = {version="0.2.0", optional=true}
ree = {version = "2.3.2", optional = true}
requests = {version="~2.25.1", optional=true}
signalr-client-threads = {version="~0.0.12", optional=true}
tablib = {version="~0.12.1", optional=true}
tqdm = {version="^4.64.0", optional=true}
xlrd = {version="^2.0.1", optional=true}
xmltodict = {version = "^0.13.0", optional=true}
black = "22.12.0"
isort = "5.11.4" # Pinned to the same version as the backend
deepdiff = "^5.8.1"
PyYAML = "^6.0"
[tool.poetry.dev-dependencies]
flake8 = "^3.9.2"
mock = "^2.0.0"
pylint = "^2.13.7"
requests-mock = "~1.3.0"
testfixtures = "^7.0.0"
click = "<=8.0"
pytest = "^7.1.2"
[tool.poetry.scripts]
test-parser = 'test_parser:test_parser'
test_parser = 'test_parser:test_parser'
check = 'scripts.tooling:check'
format = 'scripts.tooling:format'
lint = 'scripts.tooling:lint'
test = 'scripts.tooling:test'
[tool.poetry.extras]
parsers = [
"arrow",
"beautifulsoup4",
"demjson3",
"eiapy",
"html5lib",
"imageio",
"lxml",
"mock",
"pandas",
"Pillow",
"pytesseract",
"ree",
"requests",
"tablib",
"opencv-python",
"xlrd",
"freezegun",
"signalr-client-threads",
"tqdm"
]
validators = [
"arrow",
"pandas"
]
scripts = [
"xmltodict"
]
[tool.isort]
profile = "black"
[tool.pylint.'MESSAGES CONTROL']
extension-pkg-whitelist = "pydantic"
[tool.pytest.ini_options]
testpaths = [
"tests",
"parsers/test"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"