parent
c0d0c4c894
commit
454685755b
1 changed files with 23 additions and 0 deletions
23
.pre-commit-config.yaml
Normal file
23
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v7.1.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
files: client/js/
|
||||
args: ['--fix']
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: '3.8.2'
|
||||
hooks:
|
||||
- id: flake8
|
||||
files: server/szurubooru/
|
||||
additional_dependencies:
|
||||
- flake8-print
|
||||
args: ['--config=server/setup.cfg']
|
||||
exclude: LICENSE.md
|
Loading…
Reference in a new issue