-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (88 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
103 lines (88 loc) · 2.07 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
exclude = [
"/.direnv",
"/.venv",
"/.git",
"/.github",
"/.nox",
]
[project]
name = "weatherflow4py"
version = "1.5.5"
description = "Python library used by Home Assistant to interact with the WeatherFlow REST API"
authors = [
{name = "Jeef", email = "jeeftor@users.noreply.github.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.12,<4.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
]
dependencies = [
"dataclasses-json>=0.6.3",
"aiohttp>=3.13.3",
"marshmallow>=3.20.1",
"websockets>=11.0",
]
[project.urls]
Homepage = "https://github.com/jeeftor/weatherflow4py"
Repository = "https://github.com/jeeftor/weatherflow4py"
"Bug Tracker" = "https://github.com/jeeftor/weatherflow4py/issues"
[project.optional-dependencies]
dev = [
"pre-commit>=3.6.0",
"ruff>=0.1.9",
"pytest>=9.0.3",
"pytest-asyncio>=0.23.2",
"aioresponses>=0.7.6",
"coverage>=7.4.0",
"python-dotenv>=1.2.2",
"pytest-cov>=4.1.0",
"uv>=0.11.6",
"ty>=0.0.1a21",
]
[dependency-groups]
dev = [
"filelock>=3.20.3",
"marshmallow>=3.26.2",
"pip-audit>=2.10.0",
"virtualenv>=20.36.1",
]
[tool.pytest.ini_options]
testpaths = [
"tests"
]
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
branch = true
source = ["weatherflow4py", "tests"]
[tool.coverage.paths]
source = ["weatherflow4py", "*/site-packages"]
tests = ["tests", "*/tests"]
# TY
[tool.ty]
environment = { python-version = "3.13" }
[tool.ty.rules]
unresolved-attribute = "error"
invalid-argument-type = "error"
invalid-parameter-default = "error"
missing-argument = "error"
invalid-type-form = "error"
[tool.ty.src]
exclude = [
"tests/fixtures/**",
"example*.py",
]
[[tool.ty.overrides]]
include = ["tests/**"]
[tool.ty.overrides.rules]
unresolved-attribute = "ignore"
invalid-argument-type = "ignore"
missing-argument = "ignore"