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

supabase / supabase-py / 42241502791
98%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 03:16PM 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 03:16PM UTC coverage: 95.995% (+0.3%) from 95.706%
42241502791

push

github

web-flow
chore: enable more ruff and pyrefly rules (#2009)

## Summary

Follow-up to #2008 (SDK-2910). Enables the remaining low-cost ruff and
pyrefly rules and fixes what they found.

## Config

- **ruff:** adds `G` (logging format), `DTZ` (naive datetimes), `T20`
(`print`), `ANN001` (unannotated arguments) and `FIX` (TODO, FIXME and
similar markers). `T20` is ignored in `.github/scripts/` and
`src/*/scripts/`, where printing is the output.
- **pyrefly:** promotes `implicitly-defined-attribute`,
`missing-super-call`, `unknown-argument-type`,
`unknown-attribute-access`, `unknown-return-type` and
`unknown-variable-type` to errors.

## Library changes

- **realtime:**
- Logging calls use lazy `%` arguments instead of f-strings, so messages
are only formatted when the level is enabled.
- `RedactingLoggerAdapter` now renders the message with its arguments
and redacts the result. Before, it only redacted the format string and
`str` or `Frame` arguments. That was enough while the calls used
f-strings, but with lazy arguments an `access_token` inside a `Message`,
raw bytes or an exception would have reached the logs. A new test covers
this.
  - `connect_once` declares `websocket` and `client` in `__init__`.
- `NotConnectedError` and `AuthorizationError` call `super().__init__`,
so `args` holds the function name or message.
- **auth:**
- The API version date and its 2024-01-01 cutoff are parsed as UTC, and
JWT expiry is checked against an aware `datetime.now(UTC)`. Both sides
of the comparison used to be naive local times, so the result does not
change.
- Exceptions and clients call `super().__init__` instead of naming the
parent class.
- **postgrest, storage, functions:** clients and `APIError` call
`super().__init__` instead of naming the parent class. Every class
involved has a single base, so behavior is unchanged.
- **utils:** `LoopReturnValue.return_value` is a dataclass field with
`init=False`. `Headers.update` and `URLQuery.merge` annotate the merged
`pyrsiste... (continued)

9899 of 10312 relevant lines covered (95.99%)

4.82 hits per line

Jobs
ID Job ID Ran Files Coverage
25 utils-py3.14-highest - 42241502791.25 06 Nov 2026 03:16PM UTC 19
99.5
GitHub Action Run
26 storage-py3.15-highest - 42241502791.26 06 Nov 2026 03:19PM UTC 22
95.33
GitHub Action Run
27 utils-py3.13-highest - 42241502791.27 06 Nov 2026 03:16PM UTC 19
99.51
GitHub Action Run
28 utils-py3.12-lowest-direct - 42241502791.28 06 Nov 2026 03:16PM UTC 19
99.51
GitHub Action Run
29 functions-py3.12-highest - 42241502791.29 06 Nov 2026 03:16PM UTC 15
97.76
GitHub Action Run
30 utils-py3.15-highest - 42241502791.30 06 Nov 2026 03:16PM UTC 19
99.5
GitHub Action Run
31 postgrest-py3.15-highest - 42241502791.31 06 Nov 2026 03:18PM UTC 25
97.83
GitHub Action Run
32 supabase-py3.12-highest - 42241502791.32 06 Nov 2026 03:16PM UTC 20
99.53
GitHub Action Run
33 functions-py3.15-highest - 42241502791.33 06 Nov 2026 03:17PM UTC 15
97.76
GitHub Action Run
34 realtime-py3.15-highest - 42241502791.34 06 Nov 2026 03:18PM UTC 9
95.35
GitHub Action Run
35 storage-py3.12-highest - 42241502791.35 06 Nov 2026 03:18PM UTC 22
95.35
GitHub Action Run
16 supabase-py3.14-highest - 42229782749.16 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
28 realtime-py3.12-highest - 42229782749.28 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
12 utils-py3.12-highest - 42229782749.12 06 Nov 2026 01:58PM UTC 19
99.51
GitHub Action Run
8 auth-py3.14-highest - 42229782749.8 06 Nov 2026 01:59PM UTC 36
91.51
GitHub Action Run
24 postgrest-py3.12-lowest-direct - 42229782749.24 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
23 storage-py3.13-highest - 42229782749.23 06 Nov 2026 01:59PM UTC 22
95.35
GitHub Action Run
14 supabase-py3.12-lowest-direct - 42229782749.14 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
2 storage-py3.12-lowest-direct - 42229782749.2 06 Nov 2026 01:59PM UTC 22
95.35
GitHub Action Run
6 functions-py3.13-highest - 42229782749.6 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
21 supabase-py3.13-highest - 42229782749.21 06 Nov 2026 01:58PM UTC 20
99.53
GitHub Action Run
20 postgrest-py3.14-highest - 42229782749.20 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
3 auth-py3.12-highest - 42229782749.3 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
29 auth-py3.12-lowest-direct - 42229782749.29 06 Nov 2026 01:59PM UTC 36
91.54
GitHub Action Run
11 storage-py3.14-highest - 42229782749.11 06 Nov 2026 01:59PM UTC 22
95.33
GitHub Action Run
30 realtime-py3.12-lowest-direct - 42229782749.30 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
32 functions-py3.14-highest - 42229782749.32 06 Nov 2026 01:58PM UTC 15
97.76
GitHub Action Run
26 realtime-py3.14-highest - 42229782749.26 06 Nov 2026 01:59PM UTC 9
96.07
GitHub Action Run
34 postgrest-py3.13-highest - 42229782749.34 06 Nov 2026 01:59PM UTC 25
97.83
GitHub Action Run
18 supabase-py3.15-highest - 42229782749.18 06 Nov 2026 01:59PM UTC 20
99.53
GitHub Action Run
9 auth-py3.13-highest - 42229782749.9 06 Nov 2026 01:59PM UTC 36
91.54
GitHub Action Run
15 realtime-py3.13-highest - 42229782749.15 06 Nov 2026 01:59PM UTC 9
96.51
GitHub Action Run
7 auth-py3.15-highest - 42229782749.7 06 Nov 2026 01:59PM UTC 36
91.51
GitHub Action Run
Source Files on build 42241502791
  • Tree
  • List 121
  • Changed 40
  • Source Changed 0
  • Coverage Changed 40
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42241502791
  • 6ed163cc on github
  • Prev Build on main (#42229782749)
  • Next Build on main (#42245346092)
  • 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