-
-
Notifications
You must be signed in to change notification settings - Fork 457
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
85 lines (75 loc) · 1.83 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
[project]
name = "supabase_functions"
version = "2.28.0" # {x-release-please-version}
description = "Library for Supabase Functions"
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"
requires-python = ">=3.10"
dependencies = [
"httpx[http2] >=0.26,<0.29",
"pydantic>=2.12.2",
"strenum >=0.4.15",
"supabase-utils==2.28.0", # x-release-please-version
"yarl>=1.20.1",
]
[project.urls]
repository = "https://github.com/supabase/supabase-py"
homepage = "https://github.com/supabase/supabase-py/tree/main/src/functions"
changelog = "https://github.com/supabase/supabase-py/tree/main/CHANGELOG.md"
[dependency-groups]
tests = [
"pyjwt >=2.8.0",
"pytest >=7.4.2,<9.0.0",
"pytest-cov >=4,<7",
"pytest-asyncio >=0.21.1,<1.2.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" }]
[tool.uv]
default-groups = [ "dev" ]
[tool.uv.sources]
supabase-utils = { workspace = true }
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "tests"
filterwarnings = [
"ignore::DeprecationWarning", # ignore deprecation warnings globally
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
# "B",
# flake8-simplify
# "SIM",
# isort
"I",
]
ignore = ["E712", "E501", "E402", "UP006", "UP035"]
[build-system]
requires = ["uv_build>=0.8.3,<0.9.0"]
build-backend = "uv_build"
[tool.mypy]
strict = true
allow_redefinition = true
no_warn_no_return = true
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true