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

alecthomas / injector / 420
94%
master: 96%

Build:
Build:
LAST BUILD BRANCH: add_requirements_and_requirements_dev
DEFAULT BRANCH: master
Ran 09 Dec 2019 10:47PM UTC
Jobs 7
Files 6
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
420

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

887 of 966 branches covered (91.82%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 1 file covered. (100.0%)

2822 of 3013 relevant lines covered (93.66%)

6.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 420.1 09 Dec 2019 10:47PM UTC 0
91.32
Travis Job 420.1
2 420.2 09 Dec 2019 10:47PM UTC 0
91.61
Travis Job 420.2
3 420.3 09 Dec 2019 10:47PM UTC 0
92.3
Travis Job 420.3
4 420.4 09 Dec 2019 10:47PM UTC 0
92.48
Travis Job 420.4
5 420.5 09 Dec 2019 10:47PM UTC 0
91.18
Travis Job 420.5
6 420.6 09 Dec 2019 10:48PM UTC 0
90.57
Travis Job 420.6
7 420.7 09 Dec 2019 10:48PM UTC 0
92.48
Travis Job 420.7
Source Files on build 420
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #420
  • 23cd4593 on github
  • Next Build on test2 (#424)
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