-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (48 loc) · 1.07 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
[tool.poetry]
name = "django-blog"
version = "0.1.0"
description = ""
authors = ["Lucas França <lucasfrancaid@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
django = "^4.2.5"
psycopg2-binary = "^2.9.7"
django-bootstrap-form = "^3.4"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.4.0"
pytest = "^7.4.2"
ruff = "^0.0.287"
[tool.ruff]
src = ['blog', 'tests']
select = ['E', 'F', 'B', 'I', 'N', 'UP', 'PT', 'A', 'ARG']
fixable = ["ALL"]
unfixable = []
exclude = [
'README.md',
'poetry.lock',
'pyproject.toml',
'venv',
'.git',
'.gitignore',
'.mypy_cache',
'.pre-commit-config.yaml',
'.ruff_cache',
'.venv',
'.env',
]
extend-exclude = ['migrations/*.py']
line-length = 100
show-source = true
[tool.ruff.flake8-quotes]
inline-quotes = 'double'
multiline-quotes = 'double'
[tool.ruff.isort]
known-local-folder = ["blog", "tests"]
combine-as-imports = true
[tool.ruff.pyupgrade]
keep-runtime-typing = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"