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: # hooks:
# - id: autopep8 # - id: autopep8
### # flake8 --show-source <file> # flake8 --show-source <file>
### - repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
### rev: '' rev: '3.9.2'
### hooks: hooks:
### - id: flake8 - id: flake8
#
# Try using local flake8 # Try using local flake8
- repo: local ### - repo: local
hooks: ### hooks:
- id: flake8 ### - id: flake8
name: flake8 ### name: flake8
entry: flake8 ### entry: flake8
language: system ### language: system
types: [ python ] ### types: [ python ]
- repo: https://github.com/pre-commit/pygrep-hooks - repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.9.0' rev: 'v1.9.0'