-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (60 loc) · 1.48 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
[tool.poetry]
name = "wolsocketproxy"
version = "0.1.1"
description = "A socket proxy with wake-on-lan feature."
authors = ["Song Fuchang <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: System :: Networking"
]
[tool.poetry.urls]
Changelog = "https://github.com/notsyncing/wol-socket-proxy/releases"
Issues = "https://github.com/notsyncing/wol-socket-proxy/issues"
[tool.poetry.dependencies]
python = "^3.11"
wakeonlan = "3.1.0"
dataclass-wizard = "0.28.0"
icmplib = "3.0.4"
[tool.poetry.dev-dependencies]
mypy = { version = "*", python = ">=3.11" }
ruff = { version = "*", python = ">=3.11" }
[tool.poetry.scripts]
wolsocketproxy = "wolsocketproxy:main"
[tool.ruff]
line-length = 120
src = ["wolsocketproxy"]
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = [
"COM812",
"D100",
"D101",
"D102",
"D103",
"D104",
"D107",
"D203",
"D211",
"D213",
"EM102",
"FBT001",
"FBT003",
"ISC001",
"TRY003",
"TRY201",
]
[tool.mypy]
disallow_untyped_defs = true # Functions need to be annotated
warn_unused_ignores = true
ignore_missing_imports = true
[[tool.poetry.source]]
name = "mirrors"
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"