forked from machinekoder/python-qt-live-coding
-
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 (27 loc) · 788 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
29 lines (27 loc) · 788 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
26
27
28
29
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: check-byte-order-marker
- id: trailing-whitespace
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: fix-encoding-pragma
- repo: local
hooks:
- id: black
name: Run black code formatter
description: This hook formats Python code.
entry: env LC_ALL=C.UTF-8 black -q
language: system
args: [-S]
types: [python]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: flake8
# note: ignores and excluded files in .flake8