forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 949 Bytes
/
.pre-commit-config.yaml
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
26
27
28
29
30
31
default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
files: "^kitsune/"
exclude: "^.*/migrations/.*$|kitsune/sumo/db_strings.py"
language_version: python3.10
- repo: https://gitlab.com/pycqa/flake8.git
rev: 4.0.1
hooks:
- id: flake8
# - repo: https://github.com/pre-commit/mirrors-eslint
# rev: v8.1.0
# hooks:
# - id: eslint
# args: [--no-eslintrc, --config=webpack/eslintrc.js]
# exclude: "webpack/.*|webpack\\..*\\.js"
# additional_dependencies:
# - eslint@8.1.0
# - eslint-import-resolver-webpack@0.13.2
# - eslint-plugin-import@2.25.2