-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (141 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
152 lines (141 loc) · 2.93 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[project]
name = "pyoverkiz"
version = "2.0.0"
description = "A fully asynchronous API client for interaction with smart devices connected to OverKiz, supporting multiple vendors such as Somfy TaHoma and Atlantic Cozytouch."
readme = "README.md"
authors = [
{name = "Mick Vleeshouwer", email = "mick@imick.nl"},
{name = "Vincent Le Bourlot"},
{name = "Thibaut Etienne"},
]
license = {text = "MIT"}
requires-python = "<4.0,>=3.12"
packages = [
{ include = "pyoverkiz" }
]
dependencies = [
"aiohttp<4.0.0,>=3.10.3",
"backoff<3.0,>=1.10.0",
"attrs>=21.2",
"boto3<2.0.0,>=1.18.59",
"warrant-lite<2.0.0,>=1.0.4",
]
[project.optional-dependencies]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.24.0",
"mkdocs-autorefs>=1.0.0",
"pymdown-extensions>=10.0",
]
[project.urls]
homepage = "https://github.com/iMicknl/python-overkiz-api"
repository = "https://github.com/iMicknl/python-overkiz-api"
[dependency-groups]
dev = [
"pytest>=8.3.2,<10.0.0",
"pytest-cov>=5,<8",
"pytest-asyncio>=0.23.8,<1.4.0",
"ruff>=0.12.0",
"mypy>=1.16.1",
"ty>=0.0.8",
"prek>=0.2.27",
]
[tool.ruff.lint]
select = [
# pydocstyle
"D",
# flake8-async
"ASYNC",
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# ruff
"RUF",
# flake8-bandit (security)
"S",
# flake8-print
"T",
# flake8-comprehensions
"C4",
# pep8-naming
"N",
# flake8-pytest-style
"PT",
# flake8-logging
"LOG",
# flake8-datetimez
"DTZ",
# flynt
"FLY",
# flake8-implicit-str-concat
"ISC",
# pygrep-hooks
"PGH",
# flake8-self
"SLF",
# flake8-slots
"SLOT",
# tidy imports
"TID",
# flake8-no-pep420
"INP",
# import conventions
"ICN",
# flake8-logging-format
"G",
# blind exception
"BLE",
# tryceratops
"TRY",
# flake8-quotes
"Q",
# refurb
"FURB",
# perflint
"PERF",
# flake8-raise
"RSE",
# flake8-return
"RET",
# flake8-pie
"PIE",
# eradicate
"ERA",
# flake8-pyi
"PYI",
]
ignore = [
"E501", # Line too long
"TRY003", # Long exception messages are acceptable for domain-specific errors
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "SLF001"] # Allow assert and private member access in tests
"utils/**" = ["INP001", "BLE001"] # Utils are scripts, not packages
[tool.ruff.lint.pydocstyle]
convention = "google" # Accepts: "google", "numpy", or "pep257".
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"pyoverkiz/*",
]
[tool.hatch.build.targets.wheel]
packages = ["pyoverkiz"]
only-packages = true
[tool.mypy]
exclude = ["tests/"]
ignore_missing_imports = true
[tool.ty.src]
exclude = ["tests/"]