forked from stanfordnqp/spins-b
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (40 loc) · 1.34 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "1ca4ceba9609a60c79160b461f7336aa615e4813"
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# - repo: https://github.com/hakancelik96/unimport
# rev: 0.9.2
# hooks:
# - id: unimport
# args: [--remove, --include-star-import]
# - repo: https://github.com/pycqa/isort
# rev: "24c98ec4a3c826b44f4d7b06ebfe09a485d2fbcf"
# hooks:
# - id: isort
# files: "spinsb/.*"
# args: ["--profile", "black", "--filter-files"]
# - repo: https://github.com/psf/black
# rev: "3b2a7d196bc1984aed194cca26a7900968ce4409"
# hooks:
# - id: black
# - repo: https://gitlab.com/pycqa/flake8
# rev: "21d3c70d676007470908d39b73f0521d39b3b997"
# hooks:
# - id: flake8
- repo: https://github.com/kynan/nbstripout
rev: 3843f5f7c586fa6f0df81423f35d52e6af8e3039
hooks:
- id: nbstripout
files: ".ipynb"
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: ""
# hooks:
# - id: mypy
# exclude: ^(docs/|example-plugin/|tests/fixtures)
# - repo: https://github.com/pycqa/pydocstyle
# rev: ""
# hooks:
# - id: pydocstyle