-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
82 lines (69 loc) · 1.69 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
[project]
requires-python = ">=3.10, <3.11"
name = "enerbitdso"
description = "enerBit DSO (Distribution System Operator) API client"
readme = "README.md"
dynamic = ["version"]
license = { file = "LICENSE" }
Homepage = "https://github.com/enerBit/enerbitdso"
Repository = "https://github.com/enerBit/enerbitdso"
authors = [{ name = "CGM enerBit", email = "[email protected]" }]
keywords = [
"enerbit",
"distribution system operator",
"operador de red",
"power",
"energy",
"potencia eléctrica",
"eneergia eléctrica",
"colombia",
"asic",
"xm",
"api",
"client",
"mem",
"fronteras comerciales",
]
dependencies = [
"httpx>=0.27.2",
"orjson>=3.10.10",
"pydantic>=2.9.2",
"rich>=13.9.4",
"typer>=0.12.5",
"tzdata>=2024.2",
"truststore>=0.10.0",
"pydantic-settings>=2.6.1",
]
[project.scripts]
enerbitdso = "enerbitdso.cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = ["ruff", "mypy", "pytest", "pandas", "pandas-stubs"]
[tool.hatch.version]
path = "src/enerbitdso/VERSION"
pattern = "^(?P<version>.+)$"
[tool.hatch.build.targets.wheel]
packages = ["src/enerbitdso"]
sources = ["src"]
include = ["tests"]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
[tool.ruff]
line-length = 119
max-complexity = 15
indent-width = 4
[tool.ruff.lint]
select = ["B", "C", "E", "F", "W", "B9", "I"]
ignore = ["E203", "E501", "W503"]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = [
# Whitelisted default arguments
"fastapi.Header",
"fastapi.Depends",
"typer.Option",
"typer.Argument",
]