-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
86 lines (74 loc) · 2.31 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
[tool.poetry]
name = "logot"
version = "1.3.0"
description = "Test whether your code is logging correctly 🪵"
authors = ["Dave Hall <dave@etianen.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://logot.readthedocs.io"
repository = "https://github.com/etianen/logot"
documentation = "https://logot.readthedocs.io"
keywords = ["test", "unittest", "pytest", "logging"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Framework :: Trio",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
"Topic :: System :: Logging",
"Typing :: Typed",
]
packages = [{ include = "logot" }]
[tool.poetry.dependencies]
python = "^3.8"
loguru = { version = ">=0.6,<0.8", optional = true }
pytest = { version = ">=7,<9", optional = true }
structlog = { version = ">=23.3,<25", optional = true }
trio = { version = ">=0.22,<0.26", optional = true }
typing-extensions = { version = ">=4.9", python = "<3.10" }
[tool.poetry.extras]
loguru = ["loguru"]
pytest = ["pytest"]
structlog = ["structlog"]
trio = ["trio"]
[tool.poetry.group.dev.dependencies]
coverage = "^7.4.1"
furo = { version = "*", python = "^3.12" }
hypothesis = "^6.96.1"
mypy = "^1.8.0"
ruff = ">=0.5.1,<0.6"
sphinx = { version = "7.3.7", python = "^3.12" }
sphinx-autobuild = { version = "*", python = "^3.12" }
trio-typing = "^0.10.0"
[tool.poetry.plugins.pytest11]
logot = "logot._pytest"
[tool.poetry.urls]
Changelog = "https://github.com/etianen/logot/releases"
Tracker = "https://github.com/etianen/logot/issues"
[tool.coverage.run]
source = ["logot", "tests"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 100
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
[tool.mypy]
files = ["logot/**/*.py", "tests/**/*.py"]
allow_redefinition = true
explicit_package_bases = true
show_column_numbers = true
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
console_output_style = "classic"
addopts = "--tb=native --import-mode=importlib"
[tool.ruff]
include = ["docs/**/*.py", "logot/**/*.py", "tests/**/*.py"]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"