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

eclipse-aascw / aas-core-codegen / 35266621951
90%

Build:
DEFAULT BRANCH: main
Ran 17 Sep 2026 07:48PM UTC
Jobs 3
Files 264
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

17 Sep 2026 07:44PM UTC coverage: 85.65% (+0.003%) from 85.647%
35266621951

push

github

web-flow
State the type instead of contracting it (#711)

A contract which only checks a type says at run time what the signature
can say at import time, and says it to nobody: ``mypy`` does not read
it, so a caller passing the wrong thing is found by a test, if at all,
rather than by the type checker.

``intermediate`` gains the union the Java generators kept spelling out:

    ContainerTypeAnnotation = Union[ListTypeAnnotation, TupleTypeAnnotation]

It is the complement of ``AtomicTypeAnnotation`` beneath an optional,
and it carries the same invariants the neighbouring aliases do -- an
``AsTuple`` twin checked against ``get_args``, and
``assert_union_without_excluded`` against ``TypeAnnotationUnion``.

The contracts which remain are the ones a type can not express: ``not
_is_instance_type(type_anno)`` is a predicate on the ``our_type``
*inside* an ``OurTypeAnnotation``, and the rest are arity bounds, naming
rules and "not implementation-specific".

32 of 32 new or added lines in 3 files covered. (100.0%)

34327 of 40078 relevant lines covered (85.65%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.10 - 35266621951.1 17 Sep 2026 07:51PM UTC 264
85.65
GitHub Action Run
2 3.11 - 35266621951.2 17 Sep 2026 07:51PM UTC 264
85.65
GitHub Action Run
3 3.12 - 35266621951.3 17 Sep 2026 07:51PM UTC 264
85.65
GitHub Action Run
Source Files on build 35266621951
  • Tree
  • List 264
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7011c39 on github
  • Prev Build on main (#35260547425)
  • Next Build on main (#35267724995)
  • 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