Skip to content

Commit

Permalink
Merge pull request #78 from bgilbert/base-exception
Browse files Browse the repository at this point in the history
synctiles: silence spurious warning with current flake8-bugbear
  • Loading branch information
bgilbert authored Feb 28, 2024
2 parents 72d060c + 96ea84b commit 4c70f68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ repos:
rev: v1.5.0
hooks:
- id: yesqa
additional_dependencies: [flake8-bugbear, Flake8-pyproject]

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
Expand Down
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 4c70f68

Please sign in to comment.