| 1 |
[project] |
| 2 |
name = "Flask-DebugToolbar" |
| 3 |
version = "0.16.0" |
| 4 |
description = "A toolbar overlay for debugging Flask applications." |
| 5 |
readme = "README.md" |
| 6 |
license = { file = "LICENSE.txt" } |
| 7 |
author = [{ name = "Michael van Tellingen" }] |
| 8 |
maintainers = [{ name = "Pallets Ecosystem", email = "[email protected]" }] |
| 9 |
classifiers = [ |
| 10 |
"Development Status :: 4 - Beta", |
| 11 |
"Framework :: Flask", |
| 12 |
"License :: OSI Approved :: BSD License", |
| 13 |
"Programming Language :: Python", |
| 14 |
"Typing :: Typed", |
| 15 |
] |
| 16 |
requires-python = ">=3.8" |
| 17 |
dependencies = [ |
| 18 |
"flask>=2.3.0", |
| 19 |
] |
| 20 |
|
| 21 |
[project.urls] |
| 22 |
Documentation = "https://flask-debugtoolbar.readthedocs.io" |
| 23 |
Changes = "https://github.com/pallets-eco/flask-debugtoolbar/releases/" |
| 24 |
Source = "https://github.com/pallets-eco/flask-debugtoolbar/" |
| 25 |
Chat = "https://discord.gg/pallets" |
| 26 |
|
| 27 |
[build-system] |
| 28 |
requires = ["flit_core<4"] |
| 29 |
build-backend = "flit_core.buildapi" |
| 30 |
|
| 31 |
[tool.flit.module] |
| 32 |
name = "flask_debugtoolbar" |
| 33 |
|
| 34 |
[tool.pytest.ini_options] |
| 35 |
testpaths = ["tests"] |
| 36 |
filterwarnings = [ |
| 37 |
"error", |
| 38 |
] |
| 39 |
|
| 40 |
[tool.coverage.run] |
| 41 |
branch = true |
| 42 |
source = ["flask_debugtoolbar", "tests"] |
| 43 |
|
| 44 |
[tool.coverage.paths] |
| 45 |
source = ["src", "*/site-packages"] |
| 46 |
|
| 47 |
[tool.mypy] |
| 48 |
python_version = "3.8" |
| 49 |
files = ["src/flask_debugtoolbar", "tests"] |
| 50 |
show_error_codes = true |
| 51 |
pretty = true |
| 52 |
strict = true |
| 53 |
|
| 54 |
[[tool.mypy.overrides]] |
| 55 |
module = [ |
| 56 |
"sqlparse.*" |
| 57 |
] |
| 58 |
ignore_missing_imports = true |
| 59 |
|
| 60 |
[tool.pyright] |
| 61 |
pythonVersion = "3.8" |
| 62 |
include = ["src/flask_debugtoolbar", "tests"] |
| 63 |
typeCheckingMode = "basic" |
| 64 |
|
| 65 |
[tool.ruff] |
| 66 |
src = ["src"] |
| 67 |
fix = true |
| 68 |
show-fixes = true |
| 69 |
output-format = "full" |
| 70 |
|
| 71 |
[tool.ruff.lint] |
| 72 |
select = [ |
| 73 |
"B", # flake8-bugbear |
| 74 |
"E", # pycodestyle error |
| 75 |
"F", # pyflakes |
| 76 |
"I", # isort |
| 77 |
"UP", # pyupgrade |
| 78 |
"W", # pycodestyle warning |
| 79 |
] |
| 80 |
ignore-init-module-imports = true |
| 81 |
|
| 82 |
[tool.ruff.lint.isort] |
| 83 |
force-single-line = true |
| 84 |
order-by-type = false |