summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-24 10:41:16 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-05-01 22:00:19 +0200
commita92ce5369fd00623585ad8bdf6bd1a6235a8cee5 (patch)
tree77013e557bbfbd87427ce17f27580ceeb0a3888d /.pre-commit-config.yaml
parentb09100bc50a1a911875ffdefce6307524b613bec (diff)
downloadastroid-git-a92ce5369fd00623585ad8bdf6bd1a6235a8cee5.tar.gz
Add flake8 in pre-commit configuration
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8dc95c32..6b8bf9ef 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,11 +18,11 @@ repos:
- id: isort
exclude: tests/testdata|astroid/__init__.py
- repo: https://github.com/Pierre-Sassoulas/black-disable-checker/
- rev: 1.0.0
+ rev: 1.0.1
hooks:
- id: black-disable-checker
- repo: https://github.com/asottile/pyupgrade
- rev: v2.12.0
+ rev: v2.13.0
hooks:
- id: pyupgrade
exclude: tests/testdata
@@ -45,6 +45,12 @@ repos:
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
+ - repo: https://gitlab.com/pycqa/flake8
+ rev: 3.9.0
+ hooks:
+ - id: flake8
+ additional_dependencies: [flake8-bugbear]
+ exclude: tests/testdata|doc/conf.py|astroid/__init__.py|setup.py
- repo: local
hooks:
- id: pylint