Remove redundant variable assignment
This commit is contained in:
parent
49fbeb9a56
commit
f1b6fb397b
3 changed files with 0 additions and 3 deletions
|
|
@ -624,7 +624,6 @@ def shade(buf: BufType, width: int, height: int, light: bool = False, invert: bo
|
|||
dest = bytearray(width * height) if invert else buf
|
||||
|
||||
for r in range(number_of_rows):
|
||||
y = r * square_sz
|
||||
is_odd = r % 2 != 0
|
||||
if is_odd:
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ def variable_layout(self, layout_func: Callable[..., LayoutDimension], num_windo
|
|||
return layout_func(num_windows, bias=variable_bias(num_windows, biased_map) if num_windows > 1 else None)
|
||||
|
||||
def apply_bias(self, idx: int, increment: float, all_windows: WindowList, is_horizontal: bool = True) -> bool:
|
||||
b = self.biased_cols if is_horizontal else self.biased_rows
|
||||
num_windows = all_windows.num_groups
|
||||
ncols, nrows, special_rows, special_col = calc_grid_size(num_windows)
|
||||
|
||||
|
|
|
|||
|
|
@ -360,7 +360,6 @@ def launch_child(
|
|||
else:
|
||||
cmd = resolved_shell(get_options())
|
||||
check_for_suitability = False
|
||||
cmd = self.args.args or resolved_shell(get_options())
|
||||
if check_for_suitability:
|
||||
old_exe = cmd[0]
|
||||
if not os.path.isabs(old_exe):
|
||||
|
|
|
|||
Loading…
Reference in a new issue