generated from roniemartinez/docker-django-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (72 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
[tool.poetry]
name = "docker-django-template"
version = "2.2.0"
description = "Template repository for a Docker+Django project"
authors = ["Ronie Martinez <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
daphne = "^4.0.0"
Django = "^4.1.7"
django-allauth = "^0.53.1"
psycopg2-binary = "^2.9.5"
django-tailwind = "^3.5.0"
django-elasticsearch-dsl = "^7.3"
scrapy = "^2.8.0"
scrapy-djangoitem = "^1.1.1"
django-jsonview = "^2.0.0"
fontawesomefree = "^6.3.0"
django-jsonform = "^2.16.0"
coloredlogs = "^15.0.1"
[tool.poetry.group.dev.dependencies]
autoflake = "^2.0"
black = "^23.1"
coverage = { extras = ["toml"], version = "^7.2" }
diagrams = "^0.23.3"
isort = "^5.12.0"
mypy = "^1.1"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-django = "^4.5.2"
pyproject-flake8 = "^6.0.0"
[tool.isort]
line_length = 120
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = true
include_trailing_comma = true
ensure_newline_before_comments = true
atomic = true
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = """
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/foo.py
"""
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "project.settings"
addopts = """\
-vv \
-x \
--cov=combio_app \
--cov-report=term-missing \
--cov-report=html \
"""
django_debug_mode = true
[tool.coverage.run]
source = ["combio_app"]
omit = ["*/test*", "*/apps.py", "*/migrations/*"]
[tool.mypy]
disallow_untyped_defs = true
exclude = "combio_app/migrations"
[[tool.mypy.overrides]]
module = ["allauth.*", "diagrams.*", "django.*", "psycopg2.*"]
ignore_missing_imports = true
[tool.flake8]
max-line-length = 120
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"