-
-
Notifications
You must be signed in to change notification settings - Fork 460
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 1.99 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
[project]
name = "realtime"
version = "2.28.2" # {x-release-please-version}
description = ""
authors = [
{ name = "Joel Lee", email="joel@joellee.org"},
{ name = "Andrew Smith", email="a.smith@silentworks.co.uk"},
]
maintainers = [
{ name = "Leonardo Santiago", email = "leonardo.santiago@supabase.io" }
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/supabase/supabase-py"
requires-python = ">=3.9"
dependencies = [
"websockets >=11,<16",
"typing-extensions >=4.14.0",
"pydantic (>=2.11.7,<3.0.0)",
]
[project.urls]
homepage = "https://github.com/supabase/supabase/tree/main/src/realime"
repository = "https://github.com/supabase/supabase-py"
documentation = "https://github.com/supabase/supabase/tree/main/src/realime"
changelog = "https://github.com/supabase/supabase-py/tree/main/CHANGELOG.md"
[dependency-groups]
tests = [
"aiohttp >= 3.12.13",
"pytest >= 8.4.1",
"pytest-cov >= 6.2.1",
"python-dotenv >= 1.1.1",
"pytest-asyncio >= 1.0.0",
]
lints = [
"ruff >= 0.12.1",
"python-lsp-server (>=1.12.2,<2.0.0)",
"pylsp-mypy (>=0.7.0,<0.8.0)",
"python-lsp-ruff (>=2.2.2,<3.0.0)",
]
dev = [{ include-group = "lints" }, {include-group = "tests" }]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
# "B",
# flake8-simplify
# "SIM",
# isort
"I",
]
ignore = ["F401", "F403", "F841", "E712", "E501", "E402", "UP006", "UP035"]
# isort.required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.pytest.ini_options]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
[tool.mypy]
python_version = "3.9"
check_untyped_defs = true
allow_redefinition = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true