diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-11-01 08:08:10 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-11-05 10:43:35 +0100 |
commit | 83b389198cf8d05c9945d381e2bb3781b887ca29 (patch) | |
tree | 38417a68aff7a2951a65dff65673800eb91d053f | |
parent | e041d7bb142a656e68dc0d0d5918a78311a5bbd5 (diff) | |
download | pylint-git-83b389198cf8d05c9945d381e2bb3781b887ca29.tar.gz |
[flake8-bugbear] Add 'flake8-bugbear' to the pre-commit configuration
-rw-r--r-- | .pre-commit-config.yaml | 3 | ||||
-rw-r--r-- | requirements_test_pre_commit.txt | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d749de5d0..f8b43cee1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,8 @@ repos: rev: 5.0.4 hooks: - id: flake8 - additional_dependencies: [flake8-typing-imports==1.14.0] + additional_dependencies: + [flake8-bugbear==22.10.27, flake8-typing-imports==1.14.0] exclude: *fixtures - repo: local hooks: diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 2b2a1e329..730c96bd1 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -2,6 +2,7 @@ # in .pre-commit-config.yaml black==22.10.0 flake8==5.0.4 +flake8-bugbear==22.10.27 flake8-typing-imports==1.14.0 isort==5.10.1 mypy==0.982 |