forked from hacf-fr/renault-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (93 loc) · 2.66 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 = "renault-api"
version = "0.1.9"
description = "Renault API"
authors = ["epenet"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/hacf-fr/renault-api"
repository = "https://github.com/hacf-fr/renault-api"
documentation = "https://renault-api.readthedocs.io"
classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.urls]
Changelog = "https://github.com/hacf-fr/renault-api/releases"
[tool.poetry.dependencies]
python = "^3.7.1"
# Warning: as of 2020-11-19, aiohttp is pinned to 3.7.1 on HA-core
aiohttp = "^3.7.1"
# Warning: as of 2020-11-19, pyjwt is pinned to 1.7.1 on HA-core
pyjwt = ">=1.7.1,<3.0.0"
marshmallow-dataclass = "^8.2.0"
click = { version = "^8.0.1", optional = true }
tabulate = { version = "^0.8.7", optional = true }
dateparser = {version = "^1.0.0", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^7.0.1"
coverage = {extras = ["toml"], version = "^6.3"}
safety = "^1.10.3"
mypy = "^0.931"
typeguard = "^2.13.3"
xdoctest = {extras = ["colors"], version = "^0.15.10"}
sphinx = "^4.3.2"
sphinx-autobuild = "^2021.3.14"
pre-commit = "^2.17.0"
flake8 = "^4.0.1"
black = "^22.1"
flake8-bandit = "^2.1.2"
flake8-bugbear = "^22.1.11"
flake8-docstrings = "^1.6.0"
flake8-rst-docstrings = "^0.2.5"
pep8-naming = "^0.12.1"
darglint = "^1.8.1"
reorder-python-imports = "^2.7.1"
pre-commit-hooks = "^4.1.0"
sphinx-rtd-theme = "^1.0.0"
sphinx-click = "^3.1.0"
Pygments = "^2.11.2"
pytest-asyncio = "^0.18.1"
aioresponses = "^0.7.3"
pytest-cov = "^3.0.0"
#ensure urllib3 is greater than 1.26.5 to account for CVE-2021-33503
urllib3 = "^1.26.8"
[tool.poetry.extras]
cli = ["click", "tabulate", "dateparser"]
[tool.poetry.scripts]
renault-api = "renault_api.cli.__main__:main"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["renault_api"]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = 'aioresponses.*'
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"