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

QuTech-Delft / quantuminspire / 143 / 2
100%
dev: 100%

Build:
DEFAULT BRANCH: dev
Ran 17 Mar 2022 01:31PM UTC
Files 14
Run time 12s
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 Mar 2022 01:26PM UTC coverage: 100.0%. Remained the same
API_URL=https://staging.quantum-inspire.com

push

travis-ci-com

web-flow
[SDS-335] Resolve import cycles using postponed annotations (#137)

* [SDS-335] Resolve import cycles using postponed annotations

Postponed annotations allow us to use forward code references without having access to them statically, but we can have access at runtime. Using the TYPE_CHECKING constant from typing makes sure that we don't have circular dependencies in the actual code.

The "correct" approach would be to extract interfaces. For example, we could have a generic API interface or a generic Job interface that exposes the methods and properties that we need access to. However, this is not particularly "Pythonese", so this approach seemed more lightweight.

* Address review comments

* Add a .coveragerc so we can ignore TYPE_CHECKING warning lines for coverage

1346 of 1346 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 143.2 (API_URL=https://staging.quantum-inspire.com)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 803
  • Travis Job 143.2
  • 38483242 on github
  • Prev Job for API_URL=https://staging.quantum-inspire.com on dev (#140.1)
  • Next Job for API_URL=https://staging.quantum-inspire.com on dev (#146.1)
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