Skip to content

Commit f13cc87

Browse files
authored
Bump flake8, flake8-comprehensions and flake8-bugbear. (#341)
* 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.
1 parent 072c3bb commit f13cc87

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
exclude: rednotebook/external/.*\.py
88

99
- repo: https://github.com/pycqa/flake8
10-
rev: '6.0.0'
10+
rev: '6.1.0'
1111
hooks:
1212
- id: flake8
1313

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# next (unreleased)
2+
* Bump flake8, flake8-comprehensions and flake8-bugbear. (Sebastian Csar,
3+
#341).
24
* Switch to tomllib/tomli to support heterogeneous arrays (Sebastian Csar, #340).
35

46
# 2.10 (2023-10-06)

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ filterwarnings =
3030
basepython = python3
3131
deps =
3232
black==22.3.0
33-
flake8==6.0.0
33+
flake8==6.1.0
3434
flake8-2020==1.7.0
35-
flake8-bugbear==23.1.14
36-
flake8-comprehensions==3.10.1
35+
flake8-bugbear==23.9.16
36+
flake8-comprehensions==3.14.0
3737
pyupgrade==2.28.0
3838
allowlist_externals =
3939
bash

0 commit comments

Comments
 (0)