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

zopefoundation / RestrictedPython / 27904476953
99%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2026 12:37PM UTC
Jobs 1
Files 60
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

19 Jun 2026 03:05PM UTC coverage: 98.86% (-0.01%) from 98.874%
27904476953

push

github

web-flow
Type Annotations for RestrictedPython (#317)

* Type Annotations for RestrictedPython

* isinstance check with ExtSlice and Tuple as for older Python Versions

* liniting

* Remove Python 3.9 as it end of life

* Remove License Cassifier, as they are deprecated

* Add Comment for TryStar Annotation

* Add Comment for TryStar Annotation

* Add Comment for TryStar Annotation

* Add Changelog Entry

* Base for Python 3.14 Updates

* Update docs for Python 3.14

* add provisional visit_TempalteStr and visit_Interpolation to transformer to start looking into it

* Disable t-strings

* Apply pre-commit code formatting

* reactivate Template-Strings

* Update Documentation for TemplateStr and Interploation

* Apply pre-commit code formatting

* conditional import

* fix coverage numbers

* readd Python 3.9 support

* - updating package files with zope/meta and fixing tests

* - fix last test

* - expand change log entry to be more clear.

* fix return type

* style update (autopep8)

* add type hints for RestrictingNodeTransformer attributes

* update type hints for RestrictingNodeTransformer methods

* update type hint for `policy` argument

* add type hints for RestrictingNodeTransformer.visit_Interpolation

* update CHANGES.rst

* add types to CompileResult
changing the return type in compile_restricted_function to match the rest of the functions

* fix type hint for used_names

* add None to the return type hints

* add py.typed

* use "normal import"

* add list[ast.AST] to the return type hints

* add config for mypy

* replace `compile(flags=ast.PyCF_ONLY_AST)` to `ast.parse`

* update type hints

* add mypy check in pre-commit

* update type hint

* typeshed is not a package and typeshed include in mypy

* add comment and update type hint after fix #318

* bringing TODO to a single format

---------

Co-authored-by: Alexander Loechel <Alexander.Loechel@lmu.de>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.gi... (continued)

217 of 225 branches covered (96.44%)

219 of 220 new or added lines in 8 files covered. (99.55%)

2601 of 2631 relevant lines covered (98.86%)

0.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.89
src/RestrictedPython/_types.py
Jobs
ID Job ID Ran Files Coverage
1 27904476953.1 21 Jun 2026 12:37PM UTC 60
98.86
GitHub Action Run
Source Files on build 27904476953
  • Tree
  • List 60
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • bd256e6a on github
  • Prev Build on master (#27829046989)
  • Next Build on master (#28322102887)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc