Added pre_commit_hooks
rodzic
3798177661
commit
9ffa9e7538
|
@ -0,0 +1,22 @@
|
|||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.9b0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--safe]
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- id: debug-statements
|
||||
language_version: python3
|
||||
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 3.9.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
language_version: python3
|
|
@ -0,0 +1,2 @@
|
|||
FLAKE8>=6.0.0
|
||||
pre-commit>=3.3.1
|
Ładowanie…
Reference in New Issue