1
0
Fork 0
aio-eapi/.pre-commit-config.yaml

31 lines
792 B
YAML
Raw Permalink Normal View History

# 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: ["."]