summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-02-09 11:38:32 +0100
committerGitHub <noreply@github.com>2023-02-09 11:38:32 +0100
commit5931025255fe64ff98d9896c7defcc90622fa5de (patch)
treee46a2287703fe52249829bf57dc64cb59c5b9c40
parent67bf5da18b08d828d62ca4b0c8b42fb7820f0437 (diff)
downloadastroid-git-5931025255fe64ff98d9896c7defcc90622fa5de.tar.gz
Bump flake8-bugbear from 22.10.27 to 23.1.20 (#2010)
* Bump flake8-bugbear from 22.10.27 to 23.1.20 Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 22.10.27 to 23.1.20. - [Release notes](https://github.com/PyCQA/flake8-bugbear/releases) - [Commits](https://github.com/PyCQA/flake8-bugbear/compare/22.10.27...23.1.20) --- updated-dependencies: - dependency-name: flake8-bugbear dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * also upgrade pre-commit * Ignore existing issues Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--requirements_test_pre_commit.txt2
-rw-r--r--setup.cfg5
3 files changed, 6 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f9135cbf..fd9fda06 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -54,7 +54,7 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- [flake8-bugbear==22.10.27, flake8-typing-imports==1.14.0]
+ [flake8-bugbear==23.1.20, flake8-typing-imports==1.14.0]
exclude: tests/testdata|doc/conf.py
- repo: local
hooks:
diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt
index dd3aeeba..96d8653d 100644
--- a/requirements_test_pre_commit.txt
+++ b/requirements_test_pre_commit.txt
@@ -4,6 +4,6 @@ pylint==2.16.1
isort==5.12.0;python_version>='3.8'
flake8==6.0.0;python_version>='3.8'
flake8-typing-imports==1.14.0;python_version>='3.8'
-flake8-bugbear==22.10.27;python_version>='3.8'
+flake8-bugbear==23.1.20;python_version>='3.8'
mypy==0.991
pre-commit~=2.21
diff --git a/setup.cfg b/setup.cfg
index 19ab335a..a0fa37c1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,7 +13,10 @@ license_files =
# E203; Incompatible with black see https://github.com/psf/black/issues/315
# W503; Incompatible with black
# B901; Combine yield and return statements in one function
-extend-ignore = F401, E203, W503, B901
+# B905; We still support python 3.9
+# B906; Flake8 plugin specific check that is always going to be a false positive in pylint
+# B907; Not worth a refactor
+extend-ignore = F401, E203, W503, B901, B905, B906, B907
max-line-length = 110
select = B,C,E,F,W,T4,B9
# Required for flake8-typing-imports (v1.12.0)