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

supabase / supabase-py / 41845050182
98%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 02:11PM UTC
Jobs 30
Files 98
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

04 Nov 2026 02:11PM UTC coverage: 94.501% (+0.09%) from 94.412%
41845050182

push

github

web-flow
refactor: remove unused imports, variables and star imports (#1970)

Resolves SDK-2757.

## What

Only `realtime` ignored `F401` (unused import) and `F841` (unused
variable). The root `pyproject.toml` and every other package already
enforced both. This removes the two ignores from
`src/realtime/pyproject.toml` and cleans up the 82 violations they were
hiding.

It also removes the `F403` (star import) ignore from the root,
`supabase` and `realtime` configs, and replaces the remaining star
imports with explicit re-exports.

- Removed 79 unused imports across `realtime` source and tests (`json`,
`re`, `sys`, `functools.wraps`, `urllib.parse` helpers,
`yarl._query.get_str_query`, legacy `typing` names like `Optional` and
`Union`, and message/types names that were imported but never used).
- Fixed the three unused variables in tests:
- `tests/test_presence.py`: `res = await chan.track(user1)` became
`await chan.track(user1)`, keeping the call.
- `tests/test_reconnection.py`: dropped `as exc` from `except
MaxRetriesExceeded` and `as channel` from `async with
client.channel(...)`, keeping the context manager.

## Public API

`realtime/__init__.py` already re-exports explicitly (`import x as x`)
or through star imports, so ruff did not flag it. Nothing in
`sdk-compliance.yaml` changed. The only visible effect is that the star
imports of `realtime.exceptions`, `realtime.message` and
`realtime.types` no longer leak a few third-party helpers that those
modules imported without using them (`Optional`, `Union`, `Any`,
`Generic`, `Required`, `TypedDict` and `pydantic.Field`). None of these
were part of the realtime API.

## Kept with `noqa`

None. No unused import or variable was a placeholder for unfinished
work. The only `TODO` in `realtime` is about a payload type and is
unrelated to these imports.

## `F403`

Removed. The root, `supabase` and `realtime` configs no longer ignore
it. The four star imports are replaced with explicit `import X as X`
re-exports, in ... (continued)

8455 of 8947 relevant lines covered (94.5%)

4.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
92.55
-0.3% src/realtime/client.py
4
69.23
-2.2% src/realtime/exceptions.py
4
96.92
-0.02% src/realtime/channel.py
3
98.06
0.0% src/realtime/types.py
1
98.53
-0.02% src/realtime/presence.py
Jobs
ID Job ID Ran Files Coverage
1 realtime-py3.14-highest - 41845050182.1 04 Nov 2026 02:12PM UTC 8
95.96
GitHub Action Run
2 realtime-py3.11-highest - 41845050182.2 04 Nov 2026 02:12PM UTC 8
96.51
GitHub Action Run
3 storage-py3.13-highest - 41845050182.3 04 Nov 2026 02:12PM UTC 22
93.24
GitHub Action Run
4 storage-py3.14-highest - 41845050182.4 04 Nov 2026 02:12PM UTC 22
93.21
GitHub Action Run
5 supabase-py3.14-highest - 41845050182.5 04 Nov 2026 02:12PM UTC 19
92.76
GitHub Action Run
6 functions-py3.11-lowest-direct - 41845050182.6 04 Nov 2026 02:11PM UTC 14
97.4
GitHub Action Run
7 postgrest-py3.11-highest - 41845050182.7 04 Nov 2026 02:13PM UTC 24
97.54
GitHub Action Run
8 supabase-py3.12-highest - 41845050182.8 04 Nov 2026 02:11PM UTC 19
92.79
GitHub Action Run
9 functions-py3.11-highest - 41845050182.9 04 Nov 2026 02:11PM UTC 14
97.4
GitHub Action Run
10 storage-py3.11-highest - 41845050182.10 04 Nov 2026 02:12PM UTC 22
93.24
GitHub Action Run
11 functions-py3.14-highest - 41845050182.11 04 Nov 2026 02:11PM UTC 14
97.4
GitHub Action Run
12 realtime-py3.12-highest - 41845050182.12 04 Nov 2026 02:12PM UTC 8
96.37
GitHub Action Run
13 storage-py3.12-highest - 41845050182.13 04 Nov 2026 02:13PM UTC 22
93.24
GitHub Action Run
14 supabase-py3.11-highest - 41845050182.14 04 Nov 2026 02:11PM UTC 19
92.79
GitHub Action Run
15 postgrest-py3.14-highest - 41845050182.15 04 Nov 2026 02:13PM UTC 24
97.53
GitHub Action Run
16 postgrest-py3.13-highest - 41845050182.16 04 Nov 2026 02:12PM UTC 24
97.54
GitHub Action Run
17 realtime-py3.11-lowest-direct - 41845050182.17 04 Nov 2026 02:13PM UTC 8
96.51
GitHub Action Run
18 auth-py3.11-highest - 41845050182.18 04 Nov 2026 02:12PM UTC 33
91.45
GitHub Action Run
19 postgrest-py3.12-highest - 41845050182.19 04 Nov 2026 02:13PM UTC 24
97.54
GitHub Action Run
20 storage-py3.11-lowest-direct - 41845050182.20 04 Nov 2026 02:12PM UTC 22
93.24
GitHub Action Run
21 auth-py3.12-highest - 41845050182.21 04 Nov 2026 02:12PM UTC 33
91.45
GitHub Action Run
22 functions-py3.12-highest - 41845050182.22 04 Nov 2026 02:11PM UTC 14
97.4
GitHub Action Run
23 realtime-py3.13-highest - 41845050182.23 04 Nov 2026 02:12PM UTC 8
96.24
GitHub Action Run
24 auth-py3.14-highest - 41845050182.24 04 Nov 2026 02:12PM UTC 33
91.42
GitHub Action Run
25 auth-py3.13-highest - 41845050182.25 04 Nov 2026 02:12PM UTC 33
91.45
GitHub Action Run
26 supabase-py3.13-highest - 41845050182.26 04 Nov 2026 02:11PM UTC 19
92.79
GitHub Action Run
27 postgrest-py3.11-lowest-direct - 41845050182.27 04 Nov 2026 02:13PM UTC 24
97.54
GitHub Action Run
28 auth-py3.11-lowest-direct - 41845050182.28 04 Nov 2026 02:12PM UTC 33
91.45
GitHub Action Run
29 supabase-py3.11-lowest-direct - 41845050182.29 04 Nov 2026 02:11PM UTC 19
92.79
GitHub Action Run
30 functions-py3.13-highest - 41845050182.30 04 Nov 2026 02:11PM UTC 14
97.4
GitHub Action Run
Source Files on build 41845050182
  • Tree
  • List 98
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41845050182
  • 2f66f8c1 on github
  • Prev Build on main (#41841757701)
  • Next Build on main (#41845187970)
  • 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