-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
55 lines (46 loc) · 1.23 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "klp_logviewer"
dynamic = ["version"]
description = "Lightweight CLI viewer for structured log files and streams (logfmt, JSONL and many others)"
authors = [{name = "Dirk Loss", email = "[email protected]"}]
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
readme = "README.md"
[project.scripts]
klp = "klp:main"
[project.urls]
Documentation = "https://github.com/dloss/klp"
Repository = "https://github.com/dloss/klp.git"
Issues = "https://github.com/dloss/klp/issues"
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[tool.setuptools]
py-modules = ["klp"]
[tool.setuptools.dynamic]
version = {attr = "klp.__version__"}
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=klp --cov-report=term-missing"
testpaths = ["tests"]
[tool.coverage.run]
source = ["klp"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"pass",
"raise ValueError",
]