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

QuTech-Delft / quantuminspire / 143
100%

Build:
DEFAULT BRANCH: dev
Ran 17 Mar 2022 01:31PM UTC
Jobs 4
Files 14
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

pending completion
143

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

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

1338 of 1338 relevant lines covered (100.0%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 143.1 (API_URL=https://staging.quantum-inspire.com) 17 Mar 2022 01:31PM UTC 0
100.0
Travis Job 143.1
2 143.2 (API_URL=https://staging.quantum-inspire.com) 17 Mar 2022 01:31PM UTC 0
100.0
Travis Job 143.2
3 143.3 (API_URL=https://staging.quantum-inspire.com) 17 Mar 2022 01:31PM UTC 0
100.0
Travis Job 143.3
4 143.4 (API_URL=https://staging.quantum-inspire.com) 17 Mar 2022 01:32PM UTC 0
100.0
Travis Job 143.4
Source Files on build 143
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #143
  • 38483242 on github
  • Prev Build on dev (#140)
  • Next Build on dev (#146)
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

© 2025 Coveralls, Inc