pre-commit: Change flake8 to repo-based

This commit is contained in:
Athanasius 2022-03-18 14:18:09 +00:00
parent 84a19811aa
commit b9e97a15df
No known key found for this signature in database
GPG Key ID: 8C392035DD80FD62

View File

@ -14,20 +14,20 @@ repos:
# hooks:
# - id: autopep8
### # flake8 --show-source <file>
### - repo: https://gitlab.com/pycqa/flake8
### rev: ''
### hooks:
### - id: flake8
#
# flake8 --show-source <file>
- repo: https://gitlab.com/pycqa/flake8
rev: '3.9.2'
hooks:
- id: flake8
# Try using local flake8
- repo: local
hooks:
- id: flake8
name: flake8
entry: flake8
language: system
types: [ python ]
### - repo: local
### hooks:
### - id: flake8
### name: flake8
### entry: flake8
### language: system
### types: [ python ]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.9.0'