-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.02 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
repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
files: ^wordview/
name: isort (python)
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 23.12.1
hooks:
- id: black
files: ^wordview/
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
# language_version: python3.10
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
files: ^wordview/
# For error codes see: https://flake8.pycqa.org/en/latest/user/error-codes.html
args: ["--max-line-length=88", "--ignore=E203,E266,E501,W503,W504,F403,F401,E402"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
files: ^wordview/
exclude: ^wordview/gaussianize.py