-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (70 loc) · 1.79 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# -------------------------------------
# Poetry: Metadata
# -------------------------------------
[tool.poetry]
name = "aap-eda"
version = "0.1.0"
description = ""
authors = ["Red Hat, Inc. <info@ansible.com>"]
readme = "README.md"
packages = [
{include = "aap_eda", from = "src"}
]
[tool.poetry.scripts]
aap-eda-manage = 'aap_eda.manage:main'
# -------------------------------------
# Poetry: Dependencies
# -------------------------------------
[tool.poetry.dependencies]
python = ">=3.9"
django = "*"
psycopg2 = "*"
djangorestframework = "*"
dynaconf = ">=3"
drf-spectacular = "*"
channels = {version = "*", extras = ["daphne"]}
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-django = "*"
[tool.poetry.group.lint.dependencies]
flake8 = "*"
isort = "*"
black = "*"
flake8-broken-line = { version="*", python="<4.0" }
flake8-string-format = "*"
# This is an experimental linter.
ruff = "*"
# The rull claims that the flake8 plugins listed below are re-implemented,
# These plugins will remain included until it's verified.
pep8-naming = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
flake8-debugger = "*"
flake8-docstrings = "*"
flake8-eradicate = { version="*", python="<4.0" }
flake8-print = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.20.0"
# -------------------------------------
# Tools
# -------------------------------------
[tool.black]
line-length = 79
target-version = ["py39", "py310"]
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 79
[tool.ruff]
line-length = 79
extend-ignore = [
"D1", # Missing docstrings errors
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"src/aap_eda/core/migrations/*" = ["E501"]