Add flake8-simplicity rules
This commit is contained in:
parent
d7d1f42b2c
commit
6b1e40f689
7 changed files with 38 additions and 49 deletions
|
|
@ -165,9 +165,7 @@ class PreviewStitcher(BaseStitcher):
|
|||
with self._popen_lock:
|
||||
if self._popen_obj is None:
|
||||
return False
|
||||
if self._popen_obj.poll() is None:
|
||||
return True
|
||||
return False
|
||||
return self._popen_obj.poll() is None
|
||||
|
||||
def wait(self, cancel: lt.deps.CancelHook) -> None:
|
||||
"""Wait for this preview stitch to return.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue