-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathpyproject.toml
57 lines (52 loc) · 1.11 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
[project]
name = "django-sozluk"
version = "1.7.0"
requires-python = "==3.12.*"
dependencies = [
"Django ~= 4.2",
"django-uuslug ~= 2.0",
"django-widget-tweaks~=1.5",
"graphene-django~=3.2",
"python-dateutil~=2.9",
"user-agents~=2.2",
"Pillow~=10.4",
"celery~=5.4",
"django-celery-email~=3.0",
"psycopg[c]~=3.2",
"django-redis~=5.4",
"gunicorn~=23.0"
]
[tool.ruff]
fix = true
show-fixes = true
target-version = "py312"
line-length = 120
exclude = ["migrations"]
[tool.ruff.lint]
fixable = ["I"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
"RUF", # Ruff-specific
"C4", # flake8-comprehensions
"C90", # mccabe
"I", # isort
]
ignore = ["B904", "RUF001", "RUF012","RUF003", "RUF005", "B905"]
[tool.ruff.lint.isort]
combine-as-imports = true
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
django = ["django"]
[tool.ruff.lint.mccabe]
max-complexity = 20