-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
70 lines (60 loc) · 1.81 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
[tool.ruff]
target-version = "py311"
fix = true
line-length = 88
[tool.ruff.lint]
select = ["A", "ARG", "ASYNC", "B", "BLE", "C", "C4", "E", "F", "FA", "I", "INT", "N", "PIE", "PTH", "RUF", "SIM", "TCH", "TD", "W", "YTT"]
ignore = ["B008", "B904", "B905", "TD002", "TD003", "TD004", "RUF012"]
[tool.ruff.lint.isort]
order-by-type = false
[tool.coverage.run]
branch = true
source = ["aiopvpc"]
[tool.coverage.paths]
source = ["aiopvpc/"]
[tool.coverage.report]
fail_under = 95
skip_covered = true
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == \"__main__\":",
"raise NotImplementedError",
]
[tool.pytest.ini_options]
minversion = 6.0
testpaths = "tests"
addopts = "-vv -s --cov --cov-report term --cov-report html -m 'not real_api_call'"
log_level = "INFO"
log_format = "%(asctime)s.%(msecs)03d %(levelname)s: (%(filename)s:%(lineno)s): %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = true
log_cli_format = "%(asctime)s.%(msecs)03d %(name)s: %(lineno)s %(levelname)s: %(message)s"
log_cli_level = "INFO"
log_cli_date_format = "%H:%M:%S"
markers = [
"real_api_call: Tests making requests to api.esios.ree.es (deselected by default)",
]
[tool.poetry]
name = "aiopvpc"
version = "4.3.1"
description = "Retrieval of Spanish Electricity hourly prices (PVPC)"
authors = ["Eugenio Panadero <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/azogue/aiopvpc"
[tool.poetry.dependencies]
python = ">=3.9"
aiohttp = ">=3.7.4.post0"
async_timeout = ">=3.0.1"
[tool.poetry.dev-dependencies]
pytest-sugar = ">=0.9.2"
pytest = ">=5.3.5"
pytest-cov = ">=2.8.1"
pytest-timeout = ">=1.3.3"
pytest-asyncio = ">=0.15.1"
pre-commit = ">=2.2.0"
python-dotenv = ">=0.21.0"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"