-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (43 loc) · 1.42 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (43 loc) · 1.42 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dig-tui"
version = "0.2.0"
description = "A terminal user interface for the Unix dig DNS lookup utility"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [{ name = "Jade Naaman" }]
keywords = ["dns", "dig", "tui", "textual", "terminal"]
classifiers = [
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Networking",
]
# Bounded range: an unbounded `>=` pulls in breaking majors automatically.
dependencies = ["textual>=1.0,<9"]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "ruff>=0.6"]
[project.scripts]
dig-tui = "dig_tui.app:main"
[project.urls]
Homepage = "https://github.com/junxit/dig-tui"
[tool.hatch.build.targets.wheel]
packages = ["src/dig_tui"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "S", "C4"]
# S603/S607 flag subprocess use; this app's entire purpose is invoking `dig`, and the
# argv is built by build_dig_command() with no shell and validated inputs.
ignore = ["S603", "S607"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]