Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [build-system]
2 requires = ["flit_core >=3.8,<5"]
3 build-backend = "flit_core.buildapi"
4
5 [project]
6 name = "django-ninja"
7 authors = [
8 {name = "Vitaliy Kucheryaviy", email = "[email protected]"},
9 ]
10 readme = "README.md"
11 requires-python = ">=3.7"
12 dynamic = ["version", "description"]
13 classifiers = [
14 "Intended Audience :: Information Technology",
15 "Intended Audience :: System Administrators",
16 "Operating System :: OS Independent",
17 "Development Status :: 5 - Production/Stable",
18 "Topic :: Internet",
19 "Topic :: Software Development :: Libraries :: Application Frameworks",
20 "Topic :: Software Development :: Libraries :: Python Modules",
21 "Topic :: Software Development :: Libraries",
22 "Topic :: Software Development",
23 "Typing :: Typed",
24 "Environment :: Web Environment",
25 "Intended Audience :: Developers",
26 "License :: OSI Approved :: MIT License",
27 "Programming Language :: Python :: 3",
28 "Programming Language :: Python :: 3.7",
29 "Programming Language :: Python :: 3.8",
30 "Programming Language :: Python :: 3.9",
31 "Programming Language :: Python :: 3.10",
32 "Programming Language :: Python :: 3.11",
33 "Programming Language :: Python :: 3.12",
34 "Programming Language :: Python :: 3.13",
35 "Programming Language :: Python :: 3.14",
36 "Programming Language :: Python :: 3 :: Only",
37 "Framework :: Django",
38 "Framework :: Django :: 3.1",
39 "Framework :: Django :: 3.2",
40 "Framework :: Django :: 4.1",
41 "Framework :: Django :: 4.2",
42 "Framework :: Django :: 5.0",
43 "Framework :: Django :: 5.1",
44 "Framework :: Django :: 5.2",
45 "Framework :: Django :: 6.0",
46 "Framework :: Django :: 6.1",
47 "Framework :: AsyncIO",
48 "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
49 "Topic :: Internet :: WWW/HTTP",
50 ]
51
52 dependencies = [
53 "Django >=3.1",
54 "pydantic >=2.0,<3.0.0",
55 ]
56
57 [project.urls]
58 Homepage = "https://django-ninja.dev"
59 Documentation = "https://django-ninja.dev"
60 Repository = "https://github.com/vitalik/django-ninja"
61
62
63 [project.optional-dependencies]
64 test = [
65 "pytest",
66 "pytest-cov",
67 "pytest-django",
68 "pytest-asyncio",
69 "psycopg2-binary",
70 "mypy==1.7.1",
71 "ruff==0.5.7",
72 "django-stubs",
73 ]
74 doc = ["mkdocs", "mkdocs-material", "markdown-include", "mkdocstrings"]
75 dev = ["pre-commit"]
76
77 [tool.flit.module]
78 name = "ninja"
79
80
81 [tool.ruff]
82 target-version = "py37"
83
84 [tool.ruff.format]
85 preview = true
86
87 [tool.ruff.lint]
88 preview = true
89 select = [
90 "B", # flake8-bugbear
91 "C", # flake8-comprehensions
92 "E", # pycodestyle errors
93 "F", # pyflakes
94 "FURB", # refurb
95 "I", # isort
96 "PTH", # flake8-use-pathlib
97 "UP", # pyupgrade
98 "W", # pycodestyle warnings
99 ]
100 ignore = [
101 "E501", # line too long, handled by black
102 "B008", # do not perform function calls in argument defaults
103 "C901", # too complex
104 ]
105
106 [tool.ruff.lint.per-file-ignores]
107 "ninja/compatibility/datastructures.py" = ["C416"]
108 "ninja/utils.py" = ["B004"]
109 "tests/*" = ["C408"]
110
111
112 [tool.coverage.run]
113 omit = ["ninja/compatibility/*"]
114 branch = true
115
116 [tool.coverage.report]
117 fail_under = 100
118 skip_covered = true
119 show_missing = true