-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
executable file
·124 lines (111 loc) · 2.12 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = [
"setuptools >= 40.6.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ['logki']
package-dir = {'logki' = 'logki'}
[tool.setuptools.packages.find]
where = ['.']
include = [
'logki',
'logki*'
]
namespaces = true
[tool.setuptools.package-data]
logki = [
]
[project]
name = "logki"
description = "logki: Log Analysis Kit"
requires-python = ">=3.9"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{name = "Tomas Fiedor", email = "[email protected]"},
]
dependencies = [
# Build
# Other
"prompt_toolkit>=3.0.43",
# Plotting / visualization / output
"tabulate>=0.9",
]
version = "1.0.3"
[project.optional-dependencies]
docs = [
# Sphinx 7.2 dropped support for Python 3.8
"Sphinx>=7.1",
"sphinx-click>=5.0",
]
lint = [
"black>=22.1.0",
"pylint>=2.17",
]
test = [
"pytest>=7.4",
"pytest-cov>=4.1",
"tox>=4.9.0",
]
typing = [
"mypy>=1.5",
"mypy-extensions>=1.0",
"typing-extensions>=4.7",
"types-tabulate>=0.9",
]
[project.urls]
Repository = "https://github.com/Perfexionists/logki.git"
Changelog = "https://github.com/Perfexionists/logki/blob/master/CHANGELOG.rst"
[project.scripts]
logki = "logki.app:launch"
# Mypy configuration
# ----------------------
[tool.mypy]
exclude = [
".git",
".mypy_cache",
".tox",
"build",
"docs",
"logki.egg-info",
"venv",
]
disallow_incomplete_defs = true
disallow_any_generics = true
no_implicit_optional = true
no_implicit_reexport = true
strict_equality = true
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
# Pytest configuration
# --------------------
[tool.pytest.ini_options]
addopts = "-p no:warnings -p no:logging"
norecursedirs = [
"case-studies",
"venv",
"docs",
"*.egg-info",
".git",
".tox",
"build",
".mypy_cache",
]
# Coverage configuration
# ----------------------
[tool.coverage.run]
source = [
"logki",
]
# Formatting configuration
# ----------------------
[tool.black]
target-version = [
"py39",
"py310",
"py311"
]
line-length = 100