forked from IM-Interne/python-elasticsearch-ecs-logger
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (84 loc) · 2.13 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
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "opensearch-logger"
version = "1.3.1"
description = "OpenSearch logging handler"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE.md" }
keywords = ["opensearch", "logging", "handler", "logger"]
authors = [
{name = "vduseev", email = "vagiz@duseev.com"},
{name = "IMInterne", email = "equipe_interne@innovmetric.com"},
]
maintainers = [{name = "vduseev", email = "vagiz@duseev.com"}]
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
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 = [
"ruff",
"mypy",
"pytest",
"pytest-cov",
"pytest-mypy",
]
[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__.:",
]
[tool.ruff]
line-length = 78
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"D", # pydocstyle
]
ignore = [
"D202", # No blank lines allowed after function docstring
]
[tool.ruff.lint.pydocstyle]
convention = "google"