forked from MarkGodwin/tplink-omada-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
63 lines (55 loc) · 1.26 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tplink_omada_client"
version = "1.5.3"
authors = [
{ name="Mark Godwin", email="10632972+MarkGodwin@users.noreply.github.com" },
]
description = "Python wrapper for TP-Link Omada SDN Controller API (OC200/OC300/Software Controller)"
readme = "README.md"
requires-python = ">=3.13"
classifiers = [
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"aiohttp >= 3.12.2, <4",
"awesomeversion >= 25.8.0"
]
[project.scripts]
omada = "tplink_omada_client.cli:main"
[project.urls]
"Homepage" = "https://github.com/MarkGodwin/tplink-omada-api"
"Bug Tracker" = "https://github.com/MarkGodwin/tplink-omada-api/issues"
[dependency-groups]
dev = [
{include-group = "lint"},
{include-group = "test"},
"uv>=0.9.30",
]
lint = [
"pylint>=4.0.4",
"ruff>=0.15.0",
]
test = [
"coverage>=7.4.4",
"pytest>=9.0.0",
"pytest-aiohttp>=1.0.5",
]
[tool.ruff]
line-length = 127
preview = true
[tool.ruff.lint]
extend-select = [
"C90", # mccabe
"E", # pycodestyle
"W", # pycodestyle
"F", # pyflakes
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pylint.main]
max-line-length = 127