-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) 路 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (56 loc) 路 1.49 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
[build-system]
requires = ["poetry-core>=2.1.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "pingtop"
version = "0.5.1"
description = "Modern multi-host ping monitor with a Textual TUI."
readme = "README.rst"
requires-python = ">=3.10,<4.0"
license = { text = "MIT" }
authors = [{ name = "laixintao" }]
keywords = ["ping", "icmp", "textual", "tui", "network"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Networking",
"Topic :: Terminals",
]
dependencies = [
"click>=8.1,<9",
"textual>=8.2,<9",
]
[project.scripts]
pingtop = "pingtop.cli:main"
[tool.poetry]
packages = [{ include = "pingtop", from = "src" }]
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.3"
pytest-asyncio = "^1.0.0"
pytest-cov = "^6.1.1"
ruff = "^0.11.5"
mypy = "^1.15.0"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.mypy]
python_version = "3.10"
packages = ["pingtop"]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_optional = true
no_implicit_optional = true