Ran
|
Files
7
|
Run time
4s
|
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
389 of 396 relevant lines covered (98.23%)
0.98 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|