forked from danidee10/channels_postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (83 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
103 lines (83 loc) · 2.09 KB
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "channels_postgres"
version = "1.1.4"
description = "PostgreSQL-backed ASGI channel layer implementation"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
authors = [
{ name = "Daniel Osaetin", email = "f805nqs6j@relay.firefox.com" }
]
dependencies = [
"msgpack>=1.0.7,<2",
"asgiref>=3.7.2,<4",
"channels>=4.0.0,<5",
"psycopg[pool]>=3,<4",
]
[project.urls]
Homepage = "http://github.com/danidee10/channels_postgres/"
[project.optional-dependencies]
cryptography = [
"cryptography>=44.0.2,<45"
]
tests = [
"async-timeout",
"cryptography>=44.0.2,<45",
"django-stubs>=5.1.3,<6",
"mypy>=1.15.0,<2",
"pylint>=3.3.6,<4",
"pylint-django>=2.6.1,<3",
"pytest>=8.3.5,<9",
"pytest-asyncio>=0.26.0,<1",
"pytest-cov>=6.1.1,<7",
"ruff>=0.11.4,<1"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["tests"]
[tool.wheel]
universal = true
[tool.pylint.MAIN]
ignore-paths = ["channels_postgres/migrations/*"]
[tool.pytest.ini_options]
addopts = "-p no:django tests/ --cov=channels_postgres --cov-branch --cov-report xml --cov-report html"
asyncio_mode = "auto"
# log_cli = true
# log_level = "NOTSET"
[tool.ruff]
line-length = 100
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
exclude = ["channels_postgres/migrations/*"]
strict = true
[tool.django-stubs]
django_settings_module = "tests.settings"
[[tool.mypy.overrides]]
module = ["channels.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["psycopg.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["pytest.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["asgiref.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["msgpack.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["cryptography.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["async_timeout.*"]
ignore_missing_imports = true