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

safe-global / safe-config-service / 32381885320
98%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 02:45PM UTC
Jobs 1
Files 101
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

20 Aug 2026 02:43PM UTC coverage: 97.691%. Remained the same
32381885320

push

github

web-flow
chore(deps-dev): bump djangorestframework-stubs from 3.17.1 to 3.18.0 (#1668)

* chore(deps-dev): bump djangorestframework-stubs from 3.17.1 to 3.18.0

Bumps [djangorestframework-stubs](https://github.com/typeddjango/djangorestframework-stubs) from 3.17.1 to 3.18.0.
- [Release notes](https://github.com/typeddjango/djangorestframework-stubs/releases)
- [Commits](https://github.com/typeddjango/djangorestframework-stubs/compare/3.17.1...3.18.0)

---
updated-dependencies:
- dependency-name: djangorestframework-stubs
  dependency-version: 3.18.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(migrations): annotate RunPython callables with StateApps

django-stubs 6.1.0, pulled in by the djangorestframework-stubs 3.18.0
bump, narrows the return type of `apps.get_model("app", "Model")` to the
referenced model class. Its mypy plugin deliberately skips that narrowing
for `StateApps`, since a migration's historical models are rebuilt from
migration state and their fields differ from the current definitions.

The `RunPython` callables in `src/chains/migrations` annotated their
`apps` argument as `django.apps.registry.Apps`, so the plugin narrowed
`get_model()` to the current models and `mypy --strict` failed on fields
that no longer exist (and on `chains.WalletNew`, which only ever existed
mid-migration):

    0033_walletnew.py:10: error: Could not match lazy reference with any model
    0033_walletnew.py:13: error: "Wallet" has no attribute "name"
    0023_create_gas_price_model.py:17: error: "Chain" has no attribute "gas_price_oracle_uri"

Annotate those callables with `django.db.migrations.state.StateApps`,
which is what `RunPython` actually passes at runtime and what
django-stubs uses for `RunPython.code`. This matches the annotation the
migration tests in `src/chains/migrations/tests` already use. Runtime
behaviour is unchanged.

The pre-commit license-headers ho... (continued)

1523 of 1559 relevant lines covered (97.69%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32381885320.1 20 Aug 2026 02:45PM UTC 101
97.69
GitHub Action Run
Source Files on build 32381885320
  • Tree
  • List 101
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32381885320
  • cecb6799 on github
  • Prev Build on main (#32365564272)
  • Next Build on main (#33058906389)
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