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

supabase / supabase-py / 41093335689
95%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2026 04:49PM UTC
Jobs 36
Files 163
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

30 Oct 2026 04:49PM UTC coverage: 95.15% (+0.02%) from 95.133%
41093335689

push

github

web-flow
chore: unify ruff config and enable more lint rules (#1887)

## Why

`realtime`, `postgrest` and `supabase` each had their own
`[tool.ruff.lint]` section. Ruff does not merge those with the root
config, so any rule added at the root never reached those packages.
postgrest and realtime also had bugbear (`B`) and `ANN2` turned off and
ignored `F401`, `F841` and `E712`. That is how the missing `raise` fixed
in #1881 got through: `PLW0133` would have caught it, but it could not
have been enabled for postgrest.

## What changed

### Config

- The three package configs are replaced with `extend =
"../../pyproject.toml"`, so every package uses the root rules. Each
package keeps its own project root, so import sorting (first-party vs
third-party) is unchanged.
- New rules in the root config, all of which were clean or nearly clean:

| Rule | Catches |
| -------- | ----------------------------------------------------------
|
| `PLE` | Pylint errors, code that fails at runtime |
| `PLW` | Pylint warnings, including a missing `raise` (`PLW0133`) |
| `PIE` | Unnecessary statements and duplicate class fields |
| `LOG` | Logging misuse |
| `FLY` | Static `str.join` that should be an f-string |
| `YTT` | Wrong `sys.version` comparisons |
| `PT014` | Duplicate `pytest.mark.parametrize` cases |
| `RUF100` | Stale `# noqa` directives |

### Fixes for what the rules found

- **postgrest:**
- `raise APIError(...) from e` when the error body fails validation, so
the original error stays in the chain (`B904`).
  - `text_search` no longer uses a mutable `{}` default (`B006`).
- `BasePostgrestClient` no longer inherits from `ABC`; it has no
abstract methods (`B024`).
- Removed a duplicate `parametrize` case in `test_utils.py` (`PT014`), a
dead `field_validator` import and other unused imports and variables.
- **realtime:**
  - Re-exports in `__init__.py` use `X as X` so they count as public.
  - Tests compare to `True` and `False` with `is`.
  - Removed unused variables and ... (continued)

11947 of 12556 relevant lines covered (95.15%)

5.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
33
84.78
0.0% src/realtime/_async/channel.py
31
76.56
-0.11% src/realtime/_async/client.py
10
95.2
0.52% src/postgrest/base_request_builder.py
6
90.0
0.0% src/realtime/_async/presence.py
5
96.95
0.0% src/realtime/types.py
3
98.65
0.03% tests/_async/test_filter_request_builder_integration.py
3
98.65
0.03% tests/_sync/test_filter_request_builder_integration.py
2
95.74
-0.09% src/postgrest/utils.py
1
85.0
0.38% src/postgrest/exceptions.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.14-realtime - 41093335689.1 30 Oct 2026 04:50PM UTC 17
87.51
GitHub Action Run
2 run-ubuntu-latest-3.14-supabase - 41093335689.2 30 Oct 2026 04:49PM UTC 20
96.65
GitHub Action Run
3 run-ubuntu-latest-3.10-auth - 41093335689.3 30 Oct 2026 04:50PM UTC 54
93.45
GitHub Action Run
4 run-ubuntu-latest-3.14-functions - 41093335689.4 30 Oct 2026 04:49PM UTC 18
97.32
GitHub Action Run
5 run-ubuntu-latest-3.14-auth - 41093335689.5 30 Oct 2026 04:50PM UTC 54
93.47
GitHub Action Run
6 run-ubuntu-latest-3.12-storage - 41093335689.6 30 Oct 2026 04:50PM UTC 40
94.74
GitHub Action Run
7 run-ubuntu-latest-3.9-supabase - 41093335689.7 30 Oct 2026 04:49PM UTC 20
96.6
GitHub Action Run
8 run-ubuntu-latest-3.13-supabase - 41093335689.8 30 Oct 2026 04:49PM UTC 20
96.67
GitHub Action Run
9 run-ubuntu-latest-3.12-auth - 41093335689.9 30 Oct 2026 04:50PM UTC 54
93.45
GitHub Action Run
10 run-ubuntu-latest-3.12-supabase - 41093335689.10 30 Oct 2026 04:49PM UTC 20
96.67
GitHub Action Run
11 run-ubuntu-latest-3.10-storage - 41093335689.11 30 Oct 2026 04:51PM UTC 40
94.74
GitHub Action Run
12 run-ubuntu-latest-3.12-realtime - 41093335689.12 30 Oct 2026 04:51PM UTC 17
88.38
GitHub Action Run
13 run-ubuntu-latest-3.10-postgrest - 41093335689.13 30 Oct 2026 04:50PM UTC 38
97.31
GitHub Action Run
14 run-ubuntu-latest-3.11-postgrest - 41093335689.14 30 Oct 2026 04:50PM UTC 38
97.31
GitHub Action Run
15 run-ubuntu-latest-3.9-realtime - 41093335689.15 30 Oct 2026 04:51PM UTC 17
88.48
GitHub Action Run
16 run-ubuntu-latest-3.13-auth - 41093335689.16 30 Oct 2026 04:50PM UTC 54
93.49
GitHub Action Run
17 run-ubuntu-latest-3.9-storage - 41093335689.17 30 Oct 2026 04:51PM UTC 40
94.81
GitHub Action Run
18 run-ubuntu-latest-3.11-auth - 41093335689.18 30 Oct 2026 04:50PM UTC 54
93.49
GitHub Action Run
19 run-ubuntu-latest-3.12-functions - 41093335689.19 30 Oct 2026 04:49PM UTC 18
97.32
GitHub Action Run
20 run-ubuntu-latest-3.9-postgrest - 41093335689.20 30 Oct 2026 04:50PM UTC 38
97.37
GitHub Action Run
21 run-ubuntu-latest-3.14-postgrest - 41093335689.21 30 Oct 2026 04:50PM UTC 38
97.3
GitHub Action Run
22 run-ubuntu-latest-3.13-postgrest - 41093335689.22 30 Oct 2026 04:50PM UTC 38
97.31
GitHub Action Run
23 run-ubuntu-latest-3.11-storage - 41093335689.23 30 Oct 2026 04:52PM UTC 40
94.74
GitHub Action Run
24 run-ubuntu-latest-3.13-realtime - 41093335689.24 30 Oct 2026 04:51PM UTC 17
88.38
GitHub Action Run
25 run-ubuntu-latest-3.10-supabase - 41093335689.25 30 Oct 2026 04:49PM UTC 20
96.67
GitHub Action Run
26 run-ubuntu-latest-3.12-postgrest - 41093335689.26 30 Oct 2026 04:50PM UTC 38
97.31
GitHub Action Run
27 run-ubuntu-latest-3.10-functions - 41093335689.27 30 Oct 2026 04:49PM UTC 18
97.32
GitHub Action Run
28 run-ubuntu-latest-3.13-storage - 41093335689.28 30 Oct 2026 04:50PM UTC 40
94.74
GitHub Action Run
29 run-ubuntu-latest-3.13-functions - 41093335689.29 30 Oct 2026 04:49PM UTC 18
97.32
GitHub Action Run
30 run-ubuntu-latest-3.11-realtime - 41093335689.30 30 Oct 2026 04:51PM UTC 17
88.38
GitHub Action Run
31 run-ubuntu-latest-3.9-functions - 41093335689.31 30 Oct 2026 04:49PM UTC 18
97.53
GitHub Action Run
32 run-ubuntu-latest-3.14-storage - 41093335689.32 30 Oct 2026 04:51PM UTC 40
94.73
GitHub Action Run
33 run-ubuntu-latest-3.11-supabase - 41093335689.33 30 Oct 2026 04:49PM UTC 20
96.67
GitHub Action Run
34 run-ubuntu-latest-3.11-functions - 41093335689.34 30 Oct 2026 04:49PM UTC 18
97.32
GitHub Action Run
35 run-ubuntu-latest-3.10-realtime - 41093335689.35 30 Oct 2026 04:51PM UTC 17
88.38
GitHub Action Run
36 run-ubuntu-latest-3.9-auth - 41093335689.36 30 Oct 2026 04:50PM UTC 54
93.39
GitHub Action Run
Source Files on build 41093335689
  • Tree
  • List 163
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41093335689
  • 351c7ee1 on github
  • Prev Build on main (#41093236341)
  • Next Build on main (#41094197758)
  • 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