-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (82 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (82 loc) · 1.88 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
96
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm[toml]>=8",
]
build-backend = "setuptools.build_meta"
[project]
name = "l2sl"
description = "logging to structured logging"
license = {file = "LICENSE"}
authors = [
{ name = "Philip Meier", email = "github.pmeier@posteo.de" },
]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"structlog>=25.2.0",
"typing-extensions; python_version < '3.11'",
]
[dependency-groups]
dev = [
"mdx-truly-sane-lists>=1.3",
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.9",
"mkdocstrings[python]>=0.29.0",
"mypy>=1.15.0",
"pre-commit>=4.2.0",
"pydantic>=2",
"pytest>=9",
"pytest-coverage>=0.0",
]
[project.urls]
Repository = "https://github.com/pmeier/l2sl"
Documentation = "https://l2sl.readthedocs.io/en/stable/"
[tool.setuptools_scm]
write_to = "src/l2sl/_version.py"
version_scheme = "release-branch-semver"
local_scheme = "node-and-date"
[tool.ruff.lint]
select = [
"E",
"F",
"I001"
]
ignore = [
# Ignore line too long since ruff will fix everything that is fixable
"E501",
# Ambigiuous variable name
"E741",
]
[tool.pytest]
minversion = "9.0"
addopts = ["-ra", "--tb=short"]
testpaths = [
"tests",
]
filterwarnings = [
"error",
"ignore::ResourceWarning",
]
xfail_strict = true
[tool.mypy]
files = "src/l2sl"
show_error_codes = true
pretty = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
allow_redefinition = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unused_configs = true