-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
83 lines (79 loc) · 1.69 KB
/
pyproject.toml
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
[project]
name = "realworld-django-ninja"
authors = [
{name = "Sean-Miningah", email = "[email protected]"},
{name = "c4ffein", email = "[email protected]"},
]
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.7"
classifiers = ["License :: OSI Approved :: MIT License"]
dependencies = [
"annotated-types==0.6.0",
"asgiref==3.8.1",
"coreapi==2.3.3",
"django==5.1",
"django-cors-headers==4.3.1",
"django-extensions==3.2.3",
"django-ninja==1.3.0",
"django-ninja-extra==0.21.4",
"django-ninja-jwt==5.3.1",
"django-taggit==5.0.1",
"email-validator==2.1.1",
"markdown==3.4.3",
"parameterized==0.9.0",
"psycopg2==2.9.6",
"pydantic==2.6.4",
"pydantic-core==2.16.3",
"sqlparse==0.4.4",
"typing-extensions==4.10.0",
]
[project.optional-dependencies]
dev = [
"ruff==0.5.1",
]
[tool.setuptools]
py-modules = [] # fixes `Multiple top-level packages discovered in a flat-layout`
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 120
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"E", # pycodestyle errors
"F", # pyflakes
"FURB", # refurb
"I", # isort
"PTH", # flake8-use-pathlib
"UP", # pyupgrade
"W", # pycodestyle warnings
]