File: pyproject.toml

package info (click to toggle)
python-django-zeal 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 284 kB
  • sloc: python: 1,387; makefile: 25; sh: 9
file content (38 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
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
[project]
name = "django-zeal"
version = "2.0.4"
description = "Detect N+1s in your Django app"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"

[tool.setuptools]
package-dir = { "" = "src" }

[tool.setuptools.packages.find]
where = ["src"]

[tool.ruff]
line-length = 79

[tool.ruff.lint]
extend-select = [
    "I",   # isort
    "N",   # naming
    "B",   # bugbear
    "FIX", # disallow FIXME/TODO comments
    "F",   # pyflakes
    "T20", # flake8-print
    "ERA", # commented-out code
    "UP",  # pyupgrade
]

[tool.pyright]
include = ["src", "tests"]

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "djangoproject.settings"
pythonpath = ["src", "tests"]
testpaths = ["tests"]
addopts = "--nomigrations"
markers = ["nozeal: disable the auto-setup of zeal in a test"]