30 lines
644 B
YAML
30 lines
644 B
YAML
|
repos:
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 22.3.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
language_version: python3.10
|
||
|
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.3.0
|
||
|
hooks:
|
||
|
- id: end-of-file-fixer
|
||
|
- id: trailing-whitespace
|
||
|
|
||
|
- repo: https://github.com/pycqa/flake8
|
||
|
rev: 4.0.1
|
||
|
hooks:
|
||
|
- id: flake8
|
||
|
entry: pflake8
|
||
|
additional_dependencies:
|
||
|
- flake8-bugbear
|
||
|
- flake8-comprehensions
|
||
|
- flake8-simplify
|
||
|
- pyproject-flake8
|
||
|
|
||
|
- repo: https://github.com/pycqa/isort
|
||
|
rev: 5.10.1
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
name: isort
|