Skip to content

Commit

Permalink
synctiles: silence spurious warning with current flake8-bugbear
Browse files Browse the repository at this point in the history
We aren't rethrowing the BaseException because we're returning it to a
different thread instead.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Feb 28, 2024
1 parent 86b3c15 commit 96ea84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/_synctiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def sync(self) -> PurePath | BaseException:
ContentType=f'image/{FORMAT}',
)
return self.key_name
except BaseException as e:
except BaseException as e: # noqa: B036
return e

@classmethod
Expand Down

0 comments on commit 96ea84b

Please sign in to comment.