Skip to content

Commit

Permalink
Add type annotation to silence mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
JarnoRFB committed Aug 7, 2019
1 parent 744594d commit 70f5078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions epysurv/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class NotThisMethod(Exception):
"""Exception raised if a method is not valid for the current scenario."""


LONG_VERSION_PY = {}
HANDLERS = {}
LONG_VERSION_PY: dict = {}
HANDLERS: dict = {}


def register_vcs_handler(vcs, method): # decorator
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ ignore_missing_imports = True
ignore_errors = True

[mypy-tests.test_timeseries_models.py]
ignore_errors = True
ignore_errors = True

0 comments on commit 70f5078

Please sign in to comment.