-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
85 lines (76 loc) · 1.58 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
[project]
name = "asic"
dynamic = ["version"]
description = "Download and format ASIC files"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.10"
Homepage = "https://github.com/enerBit/asic"
Repository = "https://github.com/enerBit/asic.git"
authors = [{ name = "enerBit", email = "[email protected]" }]
keywords = [
"asic",
"xm",
"colombia",
"mem",
"ftp",
"development",
"integration",
"expertos",
"mercado",
"energia",
"mayorista",
]
dependencies = [
"html5lib",
"beautifulsoup4",
"pytz",
"pandas",
"pydantic",
"typer",
"pytest-cov>=5.0.0",
"httpx>=0.27.2",
]
[project.scripts]
asic = "asic.cli:cli"
[tool.uv]
dev-dependencies = [
"mypy",
"pytest",
"pytest",
"pytest-datafiles",
"types-setuptools",
"types-requests",
"pandas-stubs",
"build",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/asic/VERSION"
pattern = "^(?P<version>.+)$"
[tool.hatch.build.targets.wheel]
packages = ["src/asic"]
[tool.hatch.build.targets.sdist]
packages = ["src/asic"]
include = ["/tests"]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["tests"]
addopts = ["--import-mode=importlib"]
[tool.ruff]
line-length = 119
# max-complexity = 18
indent-width = 4
[tool.ruff.lint]
select = ["B", "C", "E", "F", "W", "B9", "I"]
ignore = ["E501"]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = [
# Whitelisted default arguments
"fastapi.Header",
"fastapi.Depends",
"typer.Option",
"typer.Argument",
]