-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (82 loc) · 2.6 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (82 loc) · 2.6 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "carconnectivity-plugin-campermode"
description = "CarConnectivity plugin for overnight climatisation cycling (camper mode)"
dynamic = ["version"]
requires-python = ">=3.10"
authors = [{ name = "Andreas Schneider" }]
keywords = ["carconnectivity", "volkswagen", "vw", "climatisation", "camper"]
dependencies = [
"carconnectivity>=0.11.5",
"Werkzeug~=3.1.3",
"Flask~=3.1.2",
"flask-login~=0.6.3",
"flask_wtf~=1.2.2",
"Bootstrap-Flask~=2.5.0",
]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Home Automation",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.urls]
Homepage = "https://github.com/cryptomilk/CarConnectivity-plugin-campermode"
Repository = "https://github.com/cryptomilk/CarConnectivity-plugin-campermode"
Issues = "https://github.com/cryptomilk/CarConnectivity-plugin-campermode/issues"
[project.entry-points."carconnectivity.plugins"]
campermode = "carconnectivity_plugins.campermode.plugin:Plugin"
[tool.setuptools.package-data]
"carconnectivity_plugins.campermode" = [
"ui/templates/campermode/*.html",
"ui/static/css/*.css",
"ui/static/js/*.js",
]
[tool.setuptools_scm]
write_to = "src/carconnectivity_plugins/campermode/_version.py"
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific rules
]
[tool.ruff.lint.isort]
known-first-party = ["carconnectivity_plugins", "carconnectivity"]
[tool.tox]
requires = ["tox>=4"]
env_list = ["lint", "format", "typing", "test"]
[tool.tox.env.lint]
description = "Lint with ruff"
skip_install = true
deps = ["ruff"]
commands = [["ruff", "check", "src/", "test/"]]
[tool.tox.env.format]
description = "Check formatting with ruff"
skip_install = true
deps = ["ruff"]
commands = [["ruff", "format", "--check", "src/", "test/"]]
[tool.tox.env.typing]
description = "Type check with ty"
deps = ["ty"]
commands = [["ty", "check", "src/"]]
[tool.tox.env.test]
description = "Run tests with pytest"
deps = ["pytest"]
commands = [["pytest", "test/", "-q"]]