-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (110 loc) · 2.2 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
[tool.poetry]
name = "poetry-goodstart"
version = "0.1.0"
description = ""
authors = ["Anton Braun <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
django = "5.0.4"
uvicorn = "^0.29.0"
loguru = "^0.7.2"
python-telegram-bot = {extras = ["job-queue"], version = "^21.1.1"}
poetry-plugin-export = "^1.7.1"
django-environ= "^0.11.2"
django-asgi-lifespan = "^0.3.1"
django-phonenumber-field = {extras = ["phonenumbers"], version = "^7.3.0"}
django-bootstrap5 = "^24.2"
psycopg2-binary = "^2.9.9"
django-material-admin = "^1.8.6"
django-viewflow = "^2.0.2"
babel = "^2.16.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.2"
pre-commit = "^3.7.0"
factory-boy = "^3.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py312"
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.dpoetry ",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"migrations",
"node_modules",
"site-packages",
"venv",
]
line-length = 79
indent-width = 4
output-format = "grouped"
[tool.ruff.lint]
select = [
# pep8-naming
"N",
#pyflakes
"F",
#pycodestyle
"E",
"W",
#mccabe
"C90",
#isort
"I",
#pydocstyle
"D",
#flake8-bugbear
"B",
#flake8-commas
"COM",
#flake8-django
"DJ",
#flake8-print
"T20",
#flake8-pie
"PIE",
#flake8-quotes
"Q",
#eradicate
"ERA",
#flake8-type-checking
"TCH"
]
ignore = ["D100", "D103", "T201", "D104", "D106", "COM819", "D212", "I001", "DJ001"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
quote-style = "single"
[tool.ruff.lint."flake8-quotes"]
inline-quotes = "single"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"settings*" = ["E501", "F405"]