• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-py / 42229782749
98%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 01:58PM UTC
Jobs 35
Files 121
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 01:58PM UTC coverage: 95.706% (+0.04%) from 95.668%
42229782749

push

github

web-flow
chore: restore the shared ruff config and enable more ruff and pyrefly rules (#2008)

## Summary

SDK-2910. The shared ruff config from #1887 (SDK-1689) was lost when v3
became `main` in #1370. Every package except `utils` had its own
`[tool.ruff.lint]` section again. Ruff does not merge those with the
root, so `auth`, `postgrest`, `storage`, `realtime` and `functions`
skipped the root's `B` and `ANN2` rules. That hid a regression of the
`text_search` mutable default that #1887 had fixed.

This restores the shared config, adds more rule families, and tightens
pyrefly now that the minimum is Python 3.12.

## Config

- Every package `pyproject.toml` uses `[tool.ruff] extend =
"../../pyproject.toml"` instead of its own rule list.
- The root config brings back `PLE`, `PLW`, `PIE`, `LOG`, `FLY` and
`YTT` from #1887, and adds `ASYNC`, `C4`, `RSE`, `SIM`, `RET`, `PYI`,
`PT`, `TC`, `PERF` and `RUF`. The full `PT` and `RUF` families replace
`PT014` and `RUF100`. `RUF006` and `ASYNC` also cover SDK-2832.
- `TC` treats `pydantic.BaseModel` subclasses and standard and pydantic
dataclasses as runtime-evaluated. The imports their fields need stay at
runtime, so pydantic validation and `typing.get_type_hints` on them
still work.
- `pyrefly.toml` pins `python-version = "3.12"`. Before, pyrefly used
whatever interpreter the virtual environment had. It also promotes
`unreachable`, `division-by-zero`, `no-any-return-explicit` and
`untyped-namedtuple` to errors. All four were clean.

## Library fixes

- **postgrest:** `text_search` no longer uses a mutable `{}` default
(`B006`). `APIError` raised after a failed response validation chains
the `ValidationError` (`B904`).
- **realtime:** `MaxRetriesExceeded` chains the last connection error
(`B904`). `RealtimePresence` no longer overwrites its loop variable
(`PLW2901`). `__aexit__` uses `contextlib.suppress` (`SIM105`).
- **storage:** The missing-trailing-slash warning now points at the code
that creates the client (`B028`)... (continued)

9739 of 10176 relevant lines covered (95.71%)

4.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
88
77.25
-0.11% src/supabase_auth/client.py
45
79.66
0.0% src/supabase_auth/session.py
42
61.86
-0.32% src/storage3/vectors.py
21
94.78
-0.21% src/postgrest/request_builder.py
9
88.0
-0.16% src/storage3/client.py
9
44.44
2.34% tests/conftest.py
9
37.5
2.21% conftest.py
8
93.75
0.0% src/realtime/client.py
6
89.86
-0.07% src/supabase_auth/admin_api.py
5
96.72
-0.04% src/storage3/file_api.py
5
91.55
-0.06% src/supabase_auth/helpers.py
5
82.5
-0.43% src/storage3/analytics.py
4
97.47
-0.15% src/supabase/client.py
3
99.03
0.0% tests/_sync/test_request_builder.py
3
99.03
0.0% tests/_async/test_request_builder.py
2
98.69
-0.01% tests/test_file_api.py
2
96.55
-0.27% src/postgrest/client.py
1
99.55
0.0% tests/_sync/test_gotrue.py
1
99.55
0.0% tests/_async/test_gotrue.py
1
96.97
-0.17% src/postgrest/utils.py
1
96.64
-0.11% src/realtime/channel.py
Jobs
ID Job ID Ran Files Coverage
1 functions-py3.12-highest - 42229782749.1 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
2 storage-py3.12-lowest-direct - 42229782749.2 06 Nov 2026 01:59PM UTC 22
95.35
GitHub Action Run
3 auth-py3.12-highest - 42229782749.3 06 Nov 2026 01:59PM UTC 36
91.54
GitHub Action Run
4 postgrest-py3.15-highest - 42229782749.4 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
5 utils-py3.13-highest - 42229782749.5 06 Nov 2026 01:58PM UTC 19
99.51
GitHub Action Run
6 functions-py3.13-highest - 42229782749.6 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
7 auth-py3.15-highest - 42229782749.7 06 Nov 2026 01:59PM UTC 36
91.51
GitHub Action Run
8 auth-py3.14-highest - 42229782749.8 06 Nov 2026 01:59PM UTC 36
91.51
GitHub Action Run
9 auth-py3.13-highest - 42229782749.9 06 Nov 2026 01:59PM UTC 36
91.54
GitHub Action Run
10 functions-py3.12-lowest-direct - 42229782749.10 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
11 storage-py3.14-highest - 42229782749.11 06 Nov 2026 01:59PM UTC 22
95.33
GitHub Action Run
12 utils-py3.12-highest - 42229782749.12 06 Nov 2026 01:58PM UTC 19
99.51
GitHub Action Run
13 utils-py3.15-highest - 42229782749.13 06 Nov 2026 01:58PM UTC 19
99.5
GitHub Action Run
14 supabase-py3.12-lowest-direct - 42229782749.14 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
15 realtime-py3.13-highest - 42229782749.15 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
16 supabase-py3.14-highest - 42229782749.16 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
17 storage-py3.15-highest - 42229782749.17 06 Nov 2026 02:01PM UTC 22
95.33
GitHub Action Run
18 supabase-py3.15-highest - 42229782749.18 06 Nov 2026 01:59PM UTC 20
99.53
GitHub Action Run
19 realtime-py3.15-highest - 42229782749.19 06 Nov 2026 01:59PM UTC 9
95.91
GitHub Action Run
20 postgrest-py3.14-highest - 42229782749.20 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
21 supabase-py3.13-highest - 42229782749.21 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
22 utils-py3.14-highest - 42229782749.22 06 Nov 2026 01:58PM UTC 19
99.5
GitHub Action Run
23 storage-py3.13-highest - 42229782749.23 06 Nov 2026 01:59PM UTC 22
95.35
GitHub Action Run
24 postgrest-py3.12-lowest-direct - 42229782749.24 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
25 postgrest-py3.12-highest - 42229782749.25 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
26 realtime-py3.14-highest - 42229782749.26 06 Nov 2026 01:59PM UTC 9
96.07
GitHub Action Run
27 storage-py3.12-highest - 42229782749.27 06 Nov 2026 01:59PM UTC 22
95.35
GitHub Action Run
28 realtime-py3.12-highest - 42229782749.28 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
29 auth-py3.12-lowest-direct - 42229782749.29 06 Nov 2026 01:59PM UTC 36
91.54
GitHub Action Run
30 realtime-py3.12-lowest-direct - 42229782749.30 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
31 functions-py3.15-highest - 42229782749.31 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
32 functions-py3.14-highest - 42229782749.32 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
33 utils-py3.12-lowest-direct - 42229782749.33 06 Nov 2026 01:58PM UTC 19
99.51
GitHub Action Run
34 postgrest-py3.13-highest - 42229782749.34 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
35 supabase-py3.12-highest - 42229782749.35 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
Source Files on build 42229782749
  • Tree
  • List 121
  • Changed 37
  • Source Changed 0
  • Coverage Changed 37
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42229782749
  • 0a99aaef on github
  • Prev Build on main (#42219365473)
  • Next Build on main (#42241502791)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc