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

supabase / supabase-py / 45352177934
99%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 07:59AM UTC
Jobs 35
Files 219
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

24 Nov 2026 07:58AM UTC coverage: 98.525%. Remained the same
45352177934

push

github

web-flow
docs: use Google style docstrings and check them in CI (#2139)

## Human What

We will be slowly migrating to a new doc format on supabase.io. This
requires that the Python docs can be automatically converted to a new
doc schema being introduced. The first step in this is ensuring that we
have a single doc style used. This PR does this by setting up the
infrastructure for enforcing the Google doc style.

`ruff` is not perfect, though, and does not catch mixing documentation
styles (it just treats other styles as normal text). For this reason, a
smaller helper script was added to catch common mistakes.

For reviewers: The first commit contains the infrastructure changes. The
second commit contains all the mechanical changes.
A follow-up PR will also introduce `pydoclint` for even stricter checks,
but it seems to catch quite a few missing things. So it was kept out of
this PR.


## AI What

Makes Google style the docstring style of the repository, and checks it
in CI. Review it commit by commit:

1. **`chore: check that docstrings use Google style`** adds the checks.
- ruff's pydocstyle rules for the format of Google sections (`D214`,
`D405`, `D410`, `D411`, `D412`, `D414`, `D416`, `D417`), with
`convention = "google"`.
- `.github/scripts/check_docstrings.py` for what ruff reads as plain
text: another name for a section, such as `Params:` for `Args:`, NumPy
sections, Sphinx fields, reST directives and Sphinx roles.
- `make ruff` and the `Lint` job run both. CONTRIBUTING.md and AGENTS.md
say which style to use.
2. **`docs: convert docstrings to Google style`** converts 31 NumPy and
18 Sphinx docstrings, 11 reST directives and 30 Sphinx roles, and fixes
what the new checks report.

The first commit alone fails the new checks. The second one makes them
pass.

## Why

The API reference on supabase.com/docs will be generated from the
docstrings with griffe, through the doc generator in supabase/sdk. Few
docstrings had sections, and those that did used three ... (continued)

26315 of 26709 relevant lines covered (98.52%)

5.05 hits per line

Coverage Regressions

Lines Coverage ∆ File
21
94.68
0.0% src/realtime/client.py
13
97.09
0.0% src/realtime/channel.py
5
92.47
0.0% src/storage3/client.py
2
98.53
0.01% src/realtime/types.py
2
98.02
0.0% src/postgrest/request_builder.py
2
98.94
0.0% src/storage3/file_api.py
2
99.23
0.0% src/supabase/client.py
1
98.81
0.0% src/supabase_functions/client.py
Jobs
ID Job ID Ran Files Coverage
1 functions-py3.14-highest - 45352177934.1 24 Nov 2026 07:59AM UTC 17
98.5
GitHub Action Run
2 supabase-py3.12-highest - 45352177934.2 24 Nov 2026 07:59AM UTC 26
99.69
GitHub Action Run
3 auth-py3.15-highest - 45352177934.3 24 Nov 2026 08:01AM UTC 61
98.81
GitHub Action Run
4 utils-py3.12-highest - 45352177934.4 24 Nov 2026 07:59AM UTC 32
97.6
GitHub Action Run
5 functions-py3.15-highest - 45352177934.5 24 Nov 2026 07:59AM UTC 17
98.5
GitHub Action Run
6 storage-py3.12-lowest-direct - 45352177934.6 24 Nov 2026 08:00AM UTC 33
97.82
GitHub Action Run
7 supabase-py3.14-highest - 45352177934.7 24 Nov 2026 07:59AM UTC 26
99.69
GitHub Action Run
8 functions-py3.12-highest - 45352177934.8 24 Nov 2026 07:59AM UTC 17
98.5
GitHub Action Run
9 realtime-py3.12-highest - 45352177934.9 24 Nov 2026 08:00AM UTC 11
97.04
GitHub Action Run
10 supabase-py3.12-lowest-direct - 45352177934.10 24 Nov 2026 07:59AM UTC 26
99.69
GitHub Action Run
11 utils-py3.12-lowest-direct - 45352177934.11 24 Nov 2026 07:59AM UTC 32
97.6
GitHub Action Run
12 functions-py3.13-highest - 45352177934.12 24 Nov 2026 07:59AM UTC 17
98.5
GitHub Action Run
13 realtime-py3.12-lowest-direct - 45352177934.13 24 Nov 2026 08:00AM UTC 11
97.04
GitHub Action Run
14 utils-py3.13-highest - 45352177934.14 24 Nov 2026 07:59AM UTC 32
97.6
GitHub Action Run
15 storage-py3.14-highest - 45352177934.15 24 Nov 2026 08:00AM UTC 33
97.82
GitHub Action Run
16 supabase-py3.13-highest - 45352177934.16 24 Nov 2026 07:59AM UTC 26
99.69
GitHub Action Run
17 functions-py3.12-lowest-direct - 45352177934.17 24 Nov 2026 07:59AM UTC 17
98.5
GitHub Action Run
18 postgrest-py3.13-highest - 45352177934.18 24 Nov 2026 08:01AM UTC 72
98.92
GitHub Action Run
19 storage-py3.13-highest - 45352177934.19 24 Nov 2026 08:00AM UTC 33
97.82
GitHub Action Run
20 utils-py3.14-highest - 45352177934.20 24 Nov 2026 07:59AM UTC 32
97.57
GitHub Action Run
21 realtime-py3.13-highest - 45352177934.21 24 Nov 2026 08:00AM UTC 11
97.04
GitHub Action Run
22 auth-py3.14-highest - 45352177934.22 24 Nov 2026 08:00AM UTC 61
98.81
GitHub Action Run
23 postgrest-py3.14-highest - 45352177934.23 24 Nov 2026 08:01AM UTC 72
98.9
GitHub Action Run
24 storage-py3.12-highest - 45352177934.24 24 Nov 2026 08:00AM UTC 33
97.82
GitHub Action Run
25 auth-py3.13-highest - 45352177934.25 24 Nov 2026 08:00AM UTC 61
98.81
GitHub Action Run
26 postgrest-py3.15-highest - 45352177934.26 24 Nov 2026 08:01AM UTC 72
98.9
GitHub Action Run
27 auth-py3.12-lowest-direct - 45352177934.27 24 Nov 2026 08:01AM UTC 61
98.81
GitHub Action Run
28 realtime-py3.14-highest - 45352177934.28 24 Nov 2026 08:00AM UTC 11
96.96
GitHub Action Run
29 postgrest-py3.12-lowest-direct - 45352177934.29 24 Nov 2026 08:01AM UTC 72
98.92
GitHub Action Run
30 supabase-py3.15-highest - 45352177934.30 24 Nov 2026 08:00AM UTC 26
99.69
GitHub Action Run
31 auth-py3.12-highest - 45352177934.31 24 Nov 2026 08:00AM UTC 61
98.81
GitHub Action Run
32 realtime-py3.15-highest - 45352177934.32 24 Nov 2026 08:00AM UTC 11
96.89
GitHub Action Run
33 postgrest-py3.12-highest - 45352177934.33 24 Nov 2026 08:01AM UTC 72
98.92
GitHub Action Run
34 storage-py3.15-highest - 45352177934.34 24 Nov 2026 08:02AM UTC 33
97.82
GitHub Action Run
35 utils-py3.15-highest - 45352177934.35 24 Nov 2026 07:59AM UTC 32
97.57
GitHub Action Run
Source Files on build 45352177934
  • Tree
  • List 219
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45352177934
  • 9513be82 on github
  • Prev Build on main (#44384980158)
  • Next Build on main (#45355916742)
  • 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