-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.21 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (51 loc) · 1.21 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
[project]
name = "fly-vpn"
version = "0.1.0"
description = "Ephemeral Tailscale exit-node launcher on Fly.io"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"httpx>=0.28",
"python-dotenv>=1.0.1",
"textual>=1.0.0",
]
[dependency-groups]
dev = [
"pytest>=8",
"pytest-asyncio>=0.25",
"ruff>=0.11",
]
[project.scripts]
fly-vpn = "main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["flyexit"]
[tool.ruff]
target-version = "py314"
line-length = 88
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"S", # bandit (security)
"B", # bugbear
"A", # builtins shadowing
"C4", # comprehensions
"SIM", # simplify
"TCH", # type-checking block
"RUF", # ruff-specific
"BLE", # blind-except
]
ignore = ["S603", "S607"] # subprocess with variable / partial path
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"]
"test.py" = ["S101", "RUF003"]
[tool.ruff.lint.isort]
known-first-party = ["flyexit"]
[tool.pytest.ini_options]
asyncio_mode = "auto"