-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.46 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "netdiff"
version = "0.1.0"
description = "Track what is on your network and alert when it changes - stdlib only, no root"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Gabriel Lluch" }]
keywords = ["network", "monitoring", "arp", "inventory", "homelab", "security"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: System :: Networking :: Monitoring",
]
# Deliberately empty and asserted in CI: the whole pitch is that this needs
# nothing but the standard library.
dependencies = []
[project.optional-dependencies]
dev = ["pytest>=7.4", "ruff>=0.6"]
[project.scripts]
netdiff = "netdiff.cli:main"
[project.urls]
Homepage = "https://github.com/gclluch/netdiff"
Issues = "https://github.com/gclluch/netdiff/issues"
[tool.setuptools.packages.find]
include = ["netdiff*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
# `python -m pytest` puts the CWD on sys.path but bare `pytest` does not, so
# without this the suite passes for whoever wrote it and fails for everyone
# else. Declared rather than relying on how pytest happens to be invoked.
pythonpath = ["."]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]