forked from devleaks/xplane-webapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (92 loc) · 2.32 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
[project]
name = "xpwebapi"
version = "4.0.0"
authors = [
{ name = "Pierre Mareschal", email = "pierre@devleaks.be" }
]
maintainers = [
{ name = "Jeffry" }
]
description = "Python client and development tools for the Laminar Research X-Plane Web API"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment :: Simulation",
]
requires-python = ">=3.12,<3.14"
dependencies = [
"ifaddr~=0.2",
"natsort~=8.4",
"packaging~=26.2",
"httpx~=0.28",
"websockets>=16,<17",
"pydantic>=2,<3",
]
[project.scripts]
xpwebapi-capture = "xpwebapi.capture_cli:main"
[project.urls]
Homepage = "https://tvproductions.github.io/xplane-webapi/"
Documentation = "https://tvproductions.github.io/xplane-webapi/"
Issues = "https://github.com/tvproductions/xplane-webapi/issues"
Repository = "https://github.com/tvproductions/xplane-webapi"
[dependency-groups]
dev = [
"bandit>=1.9.4",
"cohesion>=1.2.0",
"coverage>=7.14.1",
"detect-secrets>=1.5.0",
"interrogate>=1.7.0",
"lizard>=1.23.0",
"mkdocs",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"pre-commit>=4.5.1",
"pyyaml>=6.0.3",
"ruff>=0.15.17",
"ty>=0.0.49",
"vulture>=2.16",
"wily>=1.12.2",
"xenon>=0.9.3",
]
[tool.coverage.run]
source = ["xpwebapi"]
branch = false
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[build-system]
requires = ["uv_build>=0.11.26,<0.12"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = ""
[tool.ruff]
line-length = 160
extend-exclude = ["examples"]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
]
[tool.ruff.format]
docstring-code-format = true
[tool.ty.src]
exclude = ["examples/**"]
[tool.ty.rules]
all = "error"
# Current code predates strict annotation-modernization requirements.
# Keep ty blocking on compatibility errors while leaving these broad cleanup
# classes for separate focused work.
missing-override-decorator = "ignore"
missing-type-argument = "ignore"
unresolved-attribute = "ignore"