-
Notifications
You must be signed in to change notification settings - Fork 126
/
.pre-commit-config.yaml
30 lines (30 loc) · 893 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
exclude: data/Chinook.sqlite
exclude: data/flights.parquet
exclude: data/tfl_small.parquet
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 # Use the ref you want to point at
hooks:
- id: check-added-large-files
- repo: https://github.com/kynan/nbstripout
rev: 0.4.0
hooks:
- id: nbstripout
name: nbstripout
description: 'nbstripout: strip output from Jupyter and IPython notebooks'
entry: nbstripout
language: python
types: [jupyter]
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
name: black
description: 'applies black formatter to .py files'
entry: black
language: python
types: [python]
- repo: https://github.com/pycqa/flake8
rev: 3.9.2 # pick a git hash / tag to point to
hooks:
- id: flake8