mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-27 13:42:14 +03:00
pre-commit: Change flake8 to repo-based
This commit is contained in:
parent
84a19811aa
commit
b9e97a15df
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user