-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (59 loc) · 1.04 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
[tool.poetry]
name = "techbits"
version = "0.1.0"
description = "TechBits prototype"
authors = ["Delemangi <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
django = "^4.2.3"
pillow = "^9.5.0"
django-stubs-ext = "^4.2.2"
[tool.poetry.group.dev.dependencies]
mypy = "^1.4.0"
ruff = "^0.0.275"
black = "^23.3.0"
django-stubs = "^4.2.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "techbits.settings"
[tool.ruff]
select = [
# pyflakes
"F",
# pycodestyle
"E",
"W",
# flake8-2020
"YTT",
# flake8-bandit
"S",
# pep8-naming
"N",
# flake8-bugbear
"B",
# flake8-quotes
"Q",
# flake-8-pie
"PIE",
# flake-8-return
"RET",
# flake8-use-pathlib
"PTH",
# pylint
"PLE",
"PLR",
"PLW",
# pyupgrade
"UP",
# ruff
"RUF",
# django
"DJ",
]
ignore = ["RUF012"]
target-version = "py310"