summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: 5743b1a161b3473ae49d7dd8fbb195d46a70a2ee (plain) (blame)
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
# Some assistance and tips from:://www.tweag.io/blog/2023-04-04-python-monorepo-1/

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
line-length = 120

[tool.djlint]
profile="django"
ignore = "H023,H025,H030,H031"

[tool.pyright]
reportMissingTypeArgument = true  # Report generic classes used without type arguments
strictMissingInference = true  # Use union types when inferring types of list elements, instead of Any

[tool.black]
line-length = 120
target-version = ['py310']

[tool.isort]
profile = "black"
combine_as_imports = true
include_trailing_comma = true
line_length = 120

[tool.poetry]
name = "ded"
version = "0.1.0"
description = "Open source regulatory data management and workflow application."
authors = ["Matthew Lemon <y@yulqen.org>"]
license = "AGPL v3"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
django-crispy-forms = "~2.0"
Django = "~5.0.4"
faker = "^18.4.0"
django-htmx = "^1.17.3"

[tool.poetry.group.docs.dependencies]
sphinx = "~6.1.3"
myst-parser = "~1.0.0"

[tool.poetry.group.dev.dependencies]
black = "~23.3.0"
pre-commit = "~3.2.2"
django-debug-toolbar = "~3.7"
flake8 = "~6.0.0"
pdbpp = "~0.10.3"
pyright = "~1.1.239"
mypy = "~1.1.1"
mypy-extensions = "~1.0.0"
litecli = "~1.9.0"
djlint = "~1.23.3"
isort = "~5.12.0"
ipython = "~8.12.0"
jedi = "^0.18.2"

[tool.poetry.group.test.dependencies]
pytest = "~7.2.2"
pytest-django = "^4.5.2"