-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (72 loc) · 1.8 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
[project]
name = "ile"
version = "0.0.1"
description = "one's home measurements"
readme = "README.adoc"
requires-python = ">=3.13"
license = { file = "LICENSE" }
keywords = [
"Shelly",
"Shelly Plug",
"Shelly Plus Plug",
"Shelly H&T",
"Shelly Plus H&T",
"QuestDB",
"Grafana",
"Telegraf",
]
authors = [
{ name = "180254", email = "180254@users.noreply.github.com" },
]
maintainers = [
{ name = "180254", email = "180254@users.noreply.github.com" },
]
# dependencies = requirements.txt files
# optional-dependencies = requirements-dev.txt files
[tool.black]
line-length = 120
target-version = ["py313"]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# https://docs.astral.sh/ruff/rules/missing-type-self/
# "ANN101", # the rule has been removed
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
# https://docs.astral.sh/ruff/rules/commented-out-code/
"ERA001",
# https://docs.astral.sh/ruff/rules/missing-trailing-comma/
"COM812",
# https://docs.astral.sh/ruff/rules/pytest-unittest-assertion/
"PT009",
# https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
# the rule may cause conflicts when used with the formatter
"ISC001",
# https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp/
"SIM108",
# https://docs.astral.sh/ruff/rules/print/
"T201",
# https://docs.astral.sh/ruff/rules/blind-except/
"BLE001"
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.13"
python_executable = "./venv/bin/python3"
strict = true
[tool.pyright]
venvPath = "."
venv = "venv"
pythonVersion = "3.13"
pythonPlatform = "Linux"