-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
78 lines (67 loc) · 1.62 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
[project]
name = "gaggiuino_api"
version = "0.1.14"
description = "Gaggiuino REST Api Wrapper"
readme = "README.md"
authors = [
{ name = "Alexey ALERT Rubashёff", email = "alexey.rubasheff@gmail.com" }
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]
keywords = ["gaggiuino", "api"]
requires-python = ">=3.10.0"
dependencies = [
"aiohttp",
]
[project.urls]
homepage = "https://github.com/ALERTua/gaggiuino_api"
repository = "https://github.com/ALERTua/gaggiuino_api"
documentation = "https://github.com/ALERTua/gaggiuino_api"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
dev = [
"pre-commit-uv",
"pytest",
"pytest-asyncio",
"ruff",
"rust-just",
]
[tool.ruff]
src = ["src", "test"]
extend-exclude = [
".idea/",
"script/",
"dist/",
"images/",
".venv/",
]
extend-include = []
output-format = "grouped"
respect-gitignore = true
[tool.ruff.lint]
task-tags = ["TODO"]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 88
quote-style = "preserve"
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
max-line-length = 120
[tool.ruff.lint.pylint]
max-args = 10
max-branches = 15
max-nested-blocks = 10
max-positional-args = 3
max-public-methods = 30
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["E402"]
[tool.pytest.ini_options]
pythonpath = ["src"]
addopts = ["-ra", "-q", "-m", "not integration"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
markers = ["integration: marks tests as integration tests (deselect with '-m \"not integration\"')"]