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

Axelrod-Python / Axelrod / 5035 / 2
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v4.9.1
DEFAULT BRANCH: master
Ran 11 May 2018 06:31PM UTC
Files 170
Run time 7s
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

11 May 2018 06:02PM UTC coverage: 100.0%. First build
5035.2

push

travis-ci

drvinceknight
Fix type hints for mypy 2.1

Closes #1176

Various things I've needed to do:

- In a number of places include that the type is `Optional[]`.
- In a number of places include an `assert` so that `mypy` knows that
  the type is no longer None.
- I have made a minor refactor to the Moran process, I could have used
  asserts but this actually pointed out a spot where I believe the tests
  were incorrect: we were testing a specific situation where
  `MoranProcess.birth` or `MoranProcess.death` should have been called with
  default `index=None` but was actually being tested with `index=0`.
- **I have ignored** a type hint check in `fingerprint.py`: I was
  completely unable to get this one happy

To ensure that any new PRs don't break CI let's merge this under bug fix.

15412 of 15412 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 5035.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5015
  • Travis Job 5035.2
  • beee0f63 on github
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