-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
113 lines (98 loc) · 2.93 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[tool.poetry]
name = "django-outbox-pattern"
version = "3.0.1"
description = "A django application to make it easier to use the transactional outbox pattern"
license = "MIT"
authors = ["Hugo Brilhante <hugobrilhante@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/juntossomosmais/django-outbox-pattern"
repository = "https://github.com/juntossomosmais/django-outbox-pattern"
documentation = "https://github.com/juntossomosmais/django-outbox-pattern"
keywords = ["transactional outbox patterns", "application events", "microservices"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
packages = [
{ include = "django_outbox_pattern" },
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
django = ">=5.0.8"
"stomp.py" = ">=8.0.1,<9"
request-id-django-log = "^0.2.0"
[tool.poetry.group.dev.dependencies]
psycopg2-binary = "^2.9.6"
coverage = "*"
pre-commit = "*"
[tool.black]
line-length = 120
target_version = ["py310"]
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
force_single_line = true
line_length = 120
py_version = 312
use_parentheses = true
multi_line_output = 3
include_trailing_comma = true
lines_between_types = 1
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.mypy]
python_version = "3.10"
# flake8-mypy expects the two following for sensible formatting
show_column_numbers = true
show_error_context = false
# do not follow imports (except for ones found in typeshed)
follow_imports = "skip"
# suppress errors about unsatisfied imports
ignore_missing_imports = true
# allow untyped calls as a consequence of the options above
disallow_untyped_calls = false
# allow returning Any as a consequence of the options above
warn_return_any = false
# treat Optional per PEP 484
strict_optional = true
# ensure all execution paths are returning
warn_no_return = true
# lint-style cleanliness for typing needs to be disabled; returns more errors
# than the full run.
warn_redundant_casts = false
warn_unused_ignores = false
# The following are off by default since they're too noisy.
# Flip them on if you feel adventurous.
disallow_untyped_defs = false
check_untyped_defs = false
[[tool.mypy.overrides]]
module = "*.migrations.*"
ignore_errors = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"