-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (44 loc) · 943 Bytes
/
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
[project]
name = "logging-with-context"
description = "Python library to add context to logging messages"
readme = "README.md"
authors = [
{ name = "David Caro", email = "terseus@fastmail.com" }
]
license = "MIT"
requires-python = ">=3.9"
dependencies = []
dynamic = ["version"]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[dependency-groups]
lint = []
dev = [
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.8.2",
]
[tool.hatch.version]
source = "vcs"
[tool.ruff]
target-version = "py39"
[tool.ruff.format]
skip-magic-trailing-comma = true
[tool.ruff.lint]
ignore = []
select = [
"E",
"F",
"W",
"I", # isort
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.pytest.ini_options]
addopts = "--cov-report term --cov-report html --cov logging_with_context"
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
show_missing = true