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

alecthomas / injector / 421
96%

Build:
DEFAULT BRANCH: master
Ran 09 Dec 2019 10:49PM 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
421

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

882 of 966 branches covered (91.3%)

Branch coverage included in aggregate %.

2813 of 3012 relevant lines covered (93.39%)

6.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 421.1 09 Dec 2019 10:49PM UTC 0
91.32
Travis Job 421.1
2 421.2 09 Dec 2019 10:49PM UTC 0
91.61
Travis Job 421.2
3 421.3 09 Dec 2019 10:50PM UTC 0
92.3
Travis Job 421.3
4 421.4 09 Dec 2019 10:50PM UTC 0
92.48
Travis Job 421.4
5 421.5 09 Dec 2019 10:50PM UTC 0
91.18
Travis Job 421.5
6 421.6 09 Dec 2019 10:50PM UTC 0
90.57
Travis Job 421.6
7 421.7 09 Dec 2019 10:51PM UTC 0
92.48
Travis Job 421.7
Source Files on build 421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #421
  • 23cd4593 on github
  • Prev Build on master (#416)
  • Next Build on master (#423)
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