mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-12 02:42:56 +02:00
mypy: Turn on return value checks
Its a shame GvR is married to "return None" https://github.com/python/mypy/issues/7511
This commit is contained in:
@@ -81,6 +81,7 @@ class Grid(Layout):
|
||||
if idx == window_idx:
|
||||
return row_num, col_num
|
||||
row_num += 1
|
||||
return 0, 0
|
||||
|
||||
row_num, col_num = position_for_window_idx(idx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user