Skip to content

Commit

Permalink
Bump flake8-bugbear from 23.3.23 to 24.2.6 (#275)
Browse files Browse the repository at this point in the history
* Bump flake8-bugbear from 23.3.23 to 24.2.6

Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 23.3.23 to 24.2.6.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](PyCQA/flake8-bugbear@23.3.23...24.2.6)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix lint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amethyst Reese <[email protected]>
  • Loading branch information
dependabot[bot] and amyreese authored Feb 19, 2024
1 parent dcf06d4 commit dd37348
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aiosqlite/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def set_result(fut, result):
fut.set_result(result)

future.get_loop().call_soon_threadsafe(set_result, future, result)
except BaseException as e:
except BaseException as e: # noqa B036
LOG.debug("returning exception %s", e)

def set_exception(fut, e):
Expand Down
3 changes: 1 addition & 2 deletions aiosqlite/tests/smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,7 @@ async def test_connect_error(self):
self.assertIsNone(db) # should never be reached

with self.assertRaisesRegex(OperationalError, "unable to open database"):
db = await aiosqlite.connect(bad_db)
self.assertIsNone(db) # should never be reached
await aiosqlite.connect(bad_db)

async def test_iterdump(self):
async with aiosqlite.connect(":memory:") as db:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev = [
"black==23.3.0",
"coverage[toml]==7.4.1",
"flake8==6.0.0",
"flake8-bugbear==23.3.23",
"flake8-bugbear==24.2.6",
"flit==3.8.0",
"mypy==1.8.0",
"ufmt==2.3.0",
Expand Down

0 comments on commit dd37348

Please sign in to comment.