-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
130 lines (120 loc) · 2.47 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[tool.poetry]
name = "flicks-api"
version = "0.1.0"
description = ""
authors = ["Isaac Adewumi <ienioladewumi@gmail.com>"]
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.11"
django-environ = "^0.11.2"
huey = "^2.4.5"
whitenoise = "^6.5.0"
djangorestframework = "^3.14.0"
gunicorn = "^21.2.0"
django-cors-headers = "^4.2.0"
redis = "^4.6.0"
psycopg2-binary = "^2.9.7"
django-extra-checks = "^0.13.3"
django-fernet-encrypted-fields = "^0.1.3"
django = "^4.2.5"
drf-yasg = "^1.21.7"
setuptools = "^68.2.2"
solana = "^0.30.2"
pynacl = "^1.5.0"
requests = "^2.31.0"
aws-sns-message-validator = "^0.0.5"
boto3 = "^1.28.53"
blurhash-python = "^1.2.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.3"
isort = "^5.12.0"
pylint = "^2.17.5"
ipython = "^8.15.0"
pylint-django = "^2.5.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
preview = true
line-length = 119
select = [
"E",
"F",
"W",
"C90",
"C4",
"N",
"B",
"G",
"DJ",
"ISC",
"ICN",
"T10",
"T20",
"UP",
"YTT",
"S",
"BLE",
"FBT",
"A",
"Q",
"ERA",
"PGH",
"RET",
"SIM",
"TID",
"ARG",
"PL",
"PIE",
"PYI",
"COM",
"DTZ",
"EXE",
"INP",
"TCH",
"PTH",
"INT",
"TRY",
"RSE",
"SLF",
"RUF",
"FURB",
"PERF",
"FLY",
"TD",
]
exclude = ["migrations", ".venv"]
ignore = ["TRY003", "G004", "TRY301", "DJ008", "PLR6301", "ARG002", "ARG001", "COM812", "ISC001"]
[tool.ruff.format]
quote-style = "single"
skip-magic-trailing-comma = false
exclude = [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", "migrations"]
[tool.ruff.per-file-ignores]
"**/test_**.py" = ["S101"]
"conf/settings.py" = ["E402"]
"services/agora/**.py" = ["PLR0913"]
[tool.ruff.flake8-quotes]
inline-quotes = "single"
docstring-quotes = "double"
multiline-quotes = "double"
[tool.ruff.pylint]
max-args = 6
[tool.isort]
profile = "black"
line_length = 119
length_sort = true
force_grid_wrap = 0
multi_line_output = 3
use_parentheses = true
known_django = "django"
combine_as_imports = true
lines_between_sections = 1
include_trailing_comma = true
force_sort_within_sections = true
known_rest_framework = "rest_framework"
known_apps = "apps"
known_services = "services"
known_utils = "utils"
skip_glob = ["**/.venv/*", "**/migrations/*"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY","DJANGO", "REST_FRAMEWORK", "FIRSTPARTY", "APPS", "SERVICES", "UTILS", "LOCALFOLDER"]