blob: 70bbacc7db49793ec0a29b0541b519f6efa14ade (
plain)
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
|
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: debug-statements
- id: check-merge-conflict
- id: trailing-whitespace
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: 'scratch-testing'
args: ['--ignore=E501,E203,W503,E731',
'--max-line-length=130',
'--per-file-ignores=__init__.py:F401']
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
args: ["."]
|