-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
29 lines (29 loc) · 1.02 KB
/
.pre-commit-config.yaml
File metadata and controls
29 lines (29 loc) · 1.02 KB
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
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
- id: check-ast
- id: check-json
exclude: (.devcontainer/*.json|.vscode/launch.json)
# https://gitlab.idiap.ch/beat/beat.core/blob/master/.pre-commit-config.yaml
- repo: https://gitlab.com/pycqa/flake8
rev: 8f9b4931b9a28896fb43edccb23016a7540f5b82
hooks:
- id: flake8
entry: flake8 --ignore=E501
- repo: https://github.com/codespell-project/codespell
rev: v1.16.0
hooks:
- id: codespell
name: codespell
description: Checks for common misspellings in text files.
# entry: codespell --ignore-words ignore-spelling-words.txt readme.md code.py
entry: codespell README.md src/* tests/*
language: python
types: [text]