forked from IMInterne/python-elasticsearch-ecs-logger
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
88 lines (81 loc) · 2.03 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
[build-system]
requires = [
"flit_core >=3.2,<4",
# "setuptools",
# "wheel",
]
build-backend = "flit_core.buildapi"
# build-backend = "setuptools.build_meta"
[project]
name = "opensearch-logger"
version = "1.3.0"
description = "OpenSearch logging handler"
readme = "README.md"
requires-python = ">=3.6"
license = { file = "LICENSE.md" }
keywords = ["opensearch", "logging", "handler", "logger"]
authors = [
{name = "vduseev", email = "[email protected]"},
{name = "IMInterne", email = "[email protected]"},
]
maintainers = [{name = "vduseev", email = "[email protected]"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: System :: Logging",
"Topic :: Software Development :: Libraries",
"Topic :: Internet :: Log Analysis",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = ["opensearch-py"]
[project.urls]
documentation = "https://github.com/vduseev/opensearch-logger"
homepage = "https://github.com/vduseev/opensearch-logger"
repository = "https://github.com/vduseev/opensearch-logger"
[project.optional-dependencies]
dev = [
"bump2version",
"flake8",
"flake8-blind-except",
"flake8-bugbear",
"flake8-comprehensions",
"flake8-docstrings",
"flake8-import-order",
"flake8-polyfill",
"flit",
"mypy",
"pytest",
"pytest-cov",
"radon",
"pytest-mypy",
"black",
]
[tool.black]
line-length = 78
[tool.coverage]
fail_under = 95
[tool.coverage.run]
branch = true
source = [
"opensearch_logger"
]
omit = [
"tests/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]