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