Skip to content

Commit

Permalink
Merge pull request #115 from calebho/check-untyped-funcs
Browse files Browse the repository at this point in the history
Typecheck untyped functions
  • Loading branch information
keggsmurph21 authored Dec 20, 2019
2 parents a07a353 + 50bb9d0 commit f1dbfed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[mypy]
check_untyped_defs=True

[mypy-pytest,pytest.*]
ignore_missing_imports=True
4 changes: 2 additions & 2 deletions ultratrace2/gui/widgets/div.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ def __init__(self, parent, children=[], sticky=""):
def grid(self, *args, **kwargs):
super().grid(*args, **kwargs)

def grid_remove(self, *args, **kwargs):
super().grid_remove(*args, **kwargs)
def grid_remove(self):
super().grid_remove()
2 changes: 1 addition & 1 deletion ultratrace2/gui/widgets/zoom_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,5 @@ def grid(self, **kwargs):
self.canvas.grid(sticky="news", column=0, row=0, rowspan=2)

def grid_remove(self):
super().grid_remove(self)
super().grid_remove()
self.canvas.grid_remove()

0 comments on commit f1dbfed

Please sign in to comment.