mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-21 18:09:02 +01:00
Add flake8-comprehensions and flake8-assertive to pre-commit
This commit is contained in:
parent
963c739f03
commit
e4d4b24a5b
@ -1,5 +1,6 @@
|
||||
default_language_version:
|
||||
node: system
|
||||
python: python3
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.1.0
|
||||
@ -12,13 +13,14 @@ repos:
|
||||
rev: 5.6.4
|
||||
hooks:
|
||||
- id: isort
|
||||
language_version: python3
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
# flake8 config is in setup.cfg
|
||||
rev: 3.8.4
|
||||
hooks:
|
||||
- id: flake8
|
||||
language_version: python3
|
||||
additional_dependencies:
|
||||
- flake8-comprehensions
|
||||
- flake8-assertive
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.5.1
|
||||
hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user