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

alecthomas / injector / 420 / 1
94%
master: 96%

Build:
Build:
LAST BUILD BRANCH: add_requirements_and_requirements_dev
DEFAULT BRANCH: master
Ran 09 Dec 2019 10:47PM UTC
Files 1
Run time 0s
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

09 Dec 2019 10:42PM UTC coverage: 91.317%. First build
420.1

push

travis-ci

jstasiak
Fix new issues discovered by latest mypy (0.750)

The errors in question:

    % mypy injector
    injector/__init__.py:34: error: Incompatible types in assignment (expression has type "None", variable has type "_SpecialForm")
    injector/__init__.py:37: error: All conditional function variants must have identical signatures
    injector/__init__.py:1067: error: Argument 1 to "pop" of "MutableMapping" has incompatible type "Optional[str]"; expected "str"
    injector/__init__.py:1068: error: Argument 1 to "pop" of "MutableMapping" has incompatible type "Optional[str]"; expected "str"

Coincidentally this commit fixes an issue [1] discovered by eugenhu.
Although the solution to the issue is different than eugenhu suggests
the analysis of the underlying cause is helpful and appreciated.

[1] "Cannot inject dependency which is a subclass of a subscripted type", GH-128

Closes GH-128

167 of 186 branches covered (89.78%)

Branch coverage included in aggregate %.

464 of 505 relevant lines covered (91.88%)

0.92 hits per line

Source Files on job 420.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 42
  • Travis Job 420.1
  • 23cd4593 on github
  • Next Job for on test2 (#424.3)
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