forked from learningequality/studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
25 lines (25 loc) · 832 Bytes
/
.pre-commit-config.yaml
File metadata and controls
25 lines (25 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
hooks:
- id: trailing-whitespace
- id: flake8
entry: flake8 --ignore E402,W503,W504,E123,E122,E126
- id: check-added-large-files
exclude: '^.+?\.ttf$'
- id: debug-statements
- id: end-of-file-fixer
exclude: '^.+?\.json.+?\.yml$'
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.4.0
hooks:
- id: reorder-python-imports
language_version: python3
- repo: local
hooks:
- id: frontend-lint
name: Linting of JS, Vue, SCSS and CSS files
description: This hook handles all frontend linting for Kolibri Studio
entry: yarn run lint --write --pattern
language: system
files: \.(js|vue|scss|less|css)$