Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (118 loc) · 3.14 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (118 loc) · 3.14 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
124
125
126
127
128
129
130
131
132
[project]
name = "pyramid_debugtoolbar"
version = "4.14.dev0"
description = "A package which provides an interactive HTML debugger for Pyramid application development"
dynamic = ["readme"]
license = "BSD-3-Clause AND MIT"
license-files = ["LICENSE.txt"]
authors = [
{ name = "Chris McDonough, Michael Merickel, Casey Duncan, Blaise Laflamme", email = "pylons-discuss@googlegroups.com" },
]
requires-python = ">=3.11"
dependencies = [
"Pygments",
"pyramid >= 1.4",
"pyramid_mako >= 0.3.1",
]
keywords = ["pylons", "pyramid", "transaction", "wsgi"]
classifiers = [
"Framework :: Pyramid",
"Intended Audience :: Developers",
"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_debugtoolbar/en/latest/changes.html"
Documentation = "https://docs.pylonsproject.org/projects/pyramid_debugtoolbar/en/latest/"
Homepage = "https://github.com/Pylons/pyramid_debugtoolbar"
"Issue Tracker" = "https://github.com/Pylons/pyramid_debugtoolbar/issues"
[dependency-groups]
docs = [
"Sphinx >= 1.7.5",
"pylons-sphinx-themes >= 0.3",
]
lint = [
"black ~= 26.10.0",
"build",
"check-manifest",
"flake8",
"flake8-bugbear",
"isort",
"readme_renderer",
"twine",
]
testing = [
"WebTest",
"pygments >= 2.19", # the sqla panel tests expect its short hex colors
"pytest",
"pytest-cov",
"sqlalchemy",
"webob",
]
[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.
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["src", "tests"]
skip_glob = ["docs/*"]
include_trailing_comma = true
force_grid_wrap = false
combine_as_imports = true
line_length = 79
force_sort_within_sections = true
no_lines_before = "THIRDPARTY"
sections = "FUTURE,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
default_section = "THIRDPARTY"
known_first_party = "pyramid_debugtoolbar"
[tool.coverage.run]
source = [
"pyramid_debugtoolbar",
"tests",
]
[tool.coverage.paths]
source = [
"src/pyramid_debugtoolbar",
"*/src/pyramid_debugtoolbar",
"*/site-packages/pyramid_debugtoolbar",
]
[tool.coverage.report]
show_missing = true
precision = 2
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = [
"src/pyramid_debugtoolbar",
"tests",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
readme = { file = ["README.rst", "CHANGES.txt"], content-type = "text/x-rst" }