-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
75 lines (64 loc) · 1.92 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aiovantage"
version = "0.16.0"
description = "Interact with and control Vantage InFusion home automation controllers."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "James Smith", email = "[email protected]" }]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Home Automation",
]
dependencies = ["xsdata==24.12", "typing_extensions>=4.6.3,<5.0"]
[project.urls]
Documentation = "https://github.com/loopj/aiovantage#readme"
Issues = "https://github.com/loopj/aiovantage/issues"
Source = "https://github.com/loopj/aiovantage"
[project.optional-dependencies]
dev = ["pyright==1.1.391", "ruff==0.8.6", "bumpver==2024.1130"]
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"D", # pydocstyle
"C", # flake8-comprehensions
"B", # flake8-bugbear
"Q", # flake8-quotes
"C90", # mccabe
]
ignore = [
"E501", # line too long, handled by formatter
]
[tool.ruff.lint.per-file-ignores]
"src/aiovantage/objects/**/*.py" = [
"D106", # Missing docstring in public nested class
]
[tool.ruff.lint.isort]
known-first-party = ["aiovantage"]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
typeCheckingMode = "strict"
[tool.bumpver]
current_version = "0.16.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"']