-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.47 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
[project]
name = "gazpar2haws"
version = "0.3.2"
description = "Gazpar2HAWS is a gateway that reads data history from the GrDF (French gas provider) meter and send it to Home Assistant using WebSocket interface"
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Stéphane Senart" }
]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pygazpar>=1.3.0",
"websockets>=14.1",
"pyyaml>=6.0.2",
"pydantic[email] (>=2.10.6,<3.0.0)",
"pydantic-extra-types (>=2.10.2,<3.0.0)",
]
[tool.poetry]
requires-poetry = ">=2.0"
include = ["CHANGELOG.md"]
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
pytest-asyncio = "^0.25.0"
flake8-pyproject = "^1.2.3"
pylint = "^3.3.4"
black = "^25.1.0"
flake8 = "^7.1.1"
isort = "^6.0.0"
mypy = "^1.14.1"
ruff = "^0.9.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.'MESSAGES CONTROL']
ignore = ".venv"
max-line-length = 120
disable = "C,W1203,R0902,R0913,R0914,R0917,R0801"
[tool.black]
exclude = ".venv"
line-length = 120
[tool.flake8]
max-line-length = 120
extend-ignore = [ "E203", "W503", "E704", "E501" ]
exclude = [".venv"]
[tool.isort]
profile = "black"
skip = ".venv"
[tool.mypy]
exclude = [ ".venv" ]
[tool.ruff]
exclude = [ ".venv" ]
line-length = 120