Skip to content

Commit 5855379

Browse files
committed
add pre-commit hooks
1 parent ab15d1f commit 5855379

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
default_language_version:
2+
python: python3.7
3+
repos:
4+
- repo: https://github.com/nbQA-dev/nbQA
5+
rev: 1.4.0
6+
hooks:
7+
- id: nbqa-pyupgrade
8+
args: [--py37-plus]
9+
- id: nbqa-isort
10+
- id: nbqa-black
11+
- id: nbqa-flake8

0 commit comments

Comments
 (0)