-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (72 loc) · 1.71 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "dj-triggers"
version = "1.0.1"
description = """
A Triggers system for Django made for implementing event-based \
business logic configurable through the Django admin site."""
license = "BSD-3-Clause"
authors = [
"Dmitry Kolyagin <[email protected]>"
]
readme = "README.md"
packages = [{include = "triggers"}]
repository = "https://github.com/cockpithq/django-triggers"
keywords = ["django", "triggers"]
classifiers = [
"Framework :: Django :: 3",
"Framework :: Django :: 4"
]
[tool.poetry.dependencies]
python = ">=3.7.2,<4.0"
Django = ">=3"
django-polymorphic = "^3"
celery = ">=4.4"
django-more-admin-filters = "^1.7"
[tool.poetry.group.dev.dependencies]
flake8 = "^5.0.4"
Flake8-pyproject = "^1.1.0.post0"
mypy = "^1.0"
django-stubs = "*"
flake8-django = "^1.1.5"
pytest = "^7.1.3"
model-bakery = "^1.7.0"
pytest-django = "^4.5.2"
isort = "^5.10.1"
pytest-cov = "^4.0.0"
celery-types = "^0.14.0"
flake8-pytest-style = "^1.7.2"
[tool.flake8]
max-line-length = 100
exclude = [
"*/migrations/*.py"
]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError"
]
[tool.django-stubs]
django_settings_module = "tests.app.settings"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[[tool.mypy.overrides]]
module = [
"more_admin_filters",
"polymorphic.admin",
"polymorphic.models"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = [
"--ds=tests.app.settings",
"--cov=triggers",
"--cov-report=term-missing:skip-covered"
]
[tool.isort]
force_sort_within_sections = true
include_trailing_comma = true
line_length = 100
multi_line_output = 3
use_parentheses = true