Skip to content

Commit

Permalink
Bump flake8, flake8-comprehensions and flake8-bugbear. (#341)
Browse files Browse the repository at this point in the history
* chore: Bump flake8, flake8-comprehensions and flake8-bugbear.

flake8 version 6.0.0 had a bug that lead to false positives for E231 in
Python 3.12 which was fixed in 6.1.0. This commit bumps flake8 to 6.1.0,
flake8-comprehensions to 3.14.0, to pick up explicit support for
Python 3.12, and flake8-bugbear to 23.9.16 to pick up support for 3.12
and a bugfix.
  • Loading branch information
sacsar authored Nov 24, 2023
1 parent 072c3bb commit f13cc87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
exclude: rednotebook/external/.*\.py

- repo: https://github.com/pycqa/flake8
rev: '6.0.0'
rev: '6.1.0'
hooks:
- id: flake8

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# next (unreleased)
* Bump flake8, flake8-comprehensions and flake8-bugbear. (Sebastian Csar,
#341).
* Switch to tomllib/tomli to support heterogeneous arrays (Sebastian Csar, #340).

# 2.10 (2023-10-06)
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ filterwarnings =
basepython = python3
deps =
black==22.3.0
flake8==6.0.0
flake8==6.1.0
flake8-2020==1.7.0
flake8-bugbear==23.1.14
flake8-comprehensions==3.10.1
flake8-bugbear==23.9.16
flake8-comprehensions==3.14.0
pyupgrade==2.28.0
allowlist_externals =
bash
Expand Down

0 comments on commit f13cc87

Please sign in to comment.