forked from fstercq/freepybox
-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
88 lines (79 loc) · 2.49 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
[tool.poetry]
name = "freebox-api"
version = "1.1.0"
description = "Provides asynchronous authentication and access to Freebox servers"
authors = ["stilllman <[email protected]>", "quentame <[email protected]>", "HACF <[email protected]>"]
license = "GNU GPL v3"
readme = "README.rst"
homepage = "https://github.com/hacf-fr/freebox-api"
repository = "https://github.com/hacf-fr/freebox-api"
documentation = "https://freebox-api.readthedocs.io"
keywords=["freebox"]
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Home Automation",
]
[tool.poetry.urls]
Changelog = "https://github.com/hacf-fr/freebox-api/releases"
[tool.poetry.dependencies]
python = "^3.8.18"
aiohttp = ">=3,<4"
importlib-metadata = {version = ">=3.3,<9.0", python = "<3.12"}
typing-extensions = {version = ">=3.8.18,<5.0.0", python = "~3.8 || ~3.9 || ~3.10 || ~3.11"}
[tool.poetry.dev-dependencies]
pytest = "^8.3.3"
coverage = {extras = ["toml"], version = "^7.2"}
safety = "^3.2.10"
mypy = "^1.13.0"
typeguard = "^4.4.0"
xdoctest = {extras = ["colors"], version = "^1.1.2"}
sphinx = "^7.1.0"
sphinx-autobuild = "^2021.3.14"
pre-commit = "^3.5.0"
flake8 = "^7.1.1"
black = "^24.8.0"
flake8-bandit = "^4.1.1"
flake8-bugbear = "^24.10.31"
flake8-docstrings = "^1.7.0"
flake8-rst-docstrings = "^0.3.0"
pep8-naming = "^0.14.1"
darglint = "^1.8.1"
pre-commit-hooks = "^5.0.0"
sphinx-rtd-theme = "^3.0.1"
[tool.poetry.scripts]
freebox_api = "freebox_api.__main__:main"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["freebox_api"]
[tool.coverage.report]
show_missing = true
# fail_under = 100 reduce targetwaiting for tests creation
fail_under = 40
[tool.mypy]
strict = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
# TODO: Work on removing that
allow_untyped_defs = true
allow_untyped_calls = true
exclude = [
'^tests/example\.py$',
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"