-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·86 lines (76 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
executable file
·86 lines (76 loc) · 2.11 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
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "pythonLogs"
version = "5.0.1"
description = "High-performance Python logging library with file rotation and optimized caching for better performance"
license = "MIT"
readme = "README.md"
authors = ["Daniel Costa <danieldcsta@gmail.com>"]
maintainers = ["Daniel Costa"]
repository = "https://github.com/ddc/pythonLogs"
homepage = "https://pypi.org/project/pythonLogs"
packages = [{include = "pythonLogs"}]
package-mode = true
keywords = [
"python3", "python-3", "python",
"log", "logging", "logger",
"logutils", "log-utils", "pythonLogs"
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Natural Language :: English",
]
[tool.poetry.build]
script = "build.py"
generate-setup-file = false
[tool.poetry.group.test]
optional = true
[tool.poetry.dependencies]
python = "^3.12"
pydantic-settings = "^2.10.1"
python-dotenv = "^1.1.1"
[tool.poetry.group.test.dependencies]
poethepoet = "^0.36.0"
psutil = "^7.0.0"
pytest = "^8.4.1"
pytest-cov = "^6.2.1"
[tool.poe.tasks]
_test = "python -m pytest -v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
tests = ["_test"]
test = ["tests"]
[tool.coverage.run]
omit = [
"build.py",
"tests/*",
"*/__init__.py",
]
[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__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
show_missing = false
skip_covered = false
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
[tool.black]
line-length = 120
skip-string-normalization = true