Ran
|
Jobs
18
|
Files
16
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
github
Using `mypy` for type constraints (#216) * Drop Python 3.7 (EOL). * Type constraints for the list of Tasks. * Add mypy config. * Using MyPy in CI. * Revert "Drop Python 3.7 (EOL)." This reverts commit bee43c74b. * Add final line to mypy config. * Ignore missing types of flask. * Draft for Model type. * Introducing the correctly typed initial state for the model. * Add final newline. * Listing the dependency on typing-extensions. * Ensure presence of polling timer before cancelling it in on_shutdown method. * Disabing pylint public methods limit for model. * Ref: naming. * Ref: exposing final Model type and get_initial_model() helper for whole one. * Minor: encoding header. * Ref: type constraints in update_ui for upcoming tasks. * Type constraints for get_upcoming_tasks() method. * Ref: improving types for get_upcoming_tasks() argument subjects. * Run type checking before linting. * Minor: excluding snapshots from coverage reporting. * Update octoprint_octorelay/model.py
40 of 40 branches covered (100.0%)
Branch coverage included in aggregate %.
91 of 91 new or added lines in 3 files covered. (100.0%)
533 of 533 relevant lines covered (100.0%)
13.35 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|