Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (109 loc) · 2.94 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (109 loc) · 2.94 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[project]
name = "pyramid_exclog"
version = "1.3"
description = "A package which logs to a Python logger when an exception is raised by a Pyramid application"
dynamic = ["readme"]
license = "LicenseRef-Repoze-BSD-derived"
license-files = ["LICENSE.txt"]
authors = [
{ name = "Chris McDonough", email = "pylons-discuss@googlegroups.com" },
]
maintainers = [
{ name = "Pylons Project", email = "pylons-discuss@googlegroups.com" },
]
requires-python = ">=3.11"
dependencies = [
"pyramid >= 1.5",
]
keywords = ["exception", "handler", "pylons", "pyramid", "tween", "wsgi"]
classifiers = [
"Development Status :: 6 - Mature",
"Framework :: Pyramid",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP :: WSGI",
]
[project.urls]
Changelog = "https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/changes.html"
Documentation = "https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/"
Homepage = "https://github.com/Pylons/pyramid_exclog"
"Issue Tracker" = "https://github.com/Pylons/pyramid_exclog/issues"
[dependency-groups]
docs = [
"Sphinx >= 1.8.1",
"docutils",
"pylons-sphinx-themes >= 1.0.9",
]
lint = [
"black ~= 26.10.0",
"build",
"check-manifest",
"flake8",
"flake8-bugbear",
"isort",
"readme_renderer",
"twine",
]
testing = [
"coverage >= 5.0",
"pytest",
"pytest-cov",
]
[build-system]
requires = ["setuptools >= 77"] # SPDX license expressions
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
skip-string-normalization = true
target-version = ["py311", "py312", "py313", "py314", "py315"]
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| \.pytest_cache
| dist
| build
| docs
)/
'''
# This next section only exists for people that have their editors
# automatically call isort, black already sorts entries on its own when run.
[tool.isort]
profile = "black"
line_length = 79
force_sort_within_sections = true
sections = "FUTURE,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
known_first_party = "pyramid_exclog"
[tool.pytest.ini_options]
addopts = "-W always"
python_files = "test_*.py"
testpaths = [
"tests",
]
[tool.coverage.run]
parallel = true
source = ["pyramid_exclog", "tests"]
[tool.coverage.paths]
source = [
"src/pyramid_exclog",
"*/src/pyramid_exclog",
"*/site-packages/pyramid_exclog",
]
[tool.coverage.report]
show_missing = true
precision = 2
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
readme = { file = ["README.rst", "CHANGES.rst"], content-type = "text/x-rst" }