-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (27 loc) · 861 Bytes
/
.pre-commit-config.yaml
File metadata and controls
28 lines (27 loc) · 861 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
files: autogencontents/
exclude: setup.py|autogencontents/version.py
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0 # Use the ref you want to point at
hooks:
- id: check-added-large-files
always_run: true
- id: fix-encoding-pragma
files: .py$
- id: trailing-whitespace
exclude: .md$
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-isort
rev: '' # Use the revision sha / tag you want to point at
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: ''
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
- repo: https://gitlab.com/pycqa/flake8
rev: '' # pick a git hash / tag to point to
hooks:
- id: flake8
exclude: ^notebooks/|^data/