mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-09-17 23:27:11 -04:00
29 lines
632 B
YAML
29 lines
632 B
YAML
|
repos:
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 21.10b0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
|
||
|
- repo: https://gitlab.com/pycqa/flake8
|
||
|
rev: 3.9.2
|
||
|
hooks:
|
||
|
- id: flake8
|
||
|
additional_dependencies: [flake8-bugbear]
|
||
|
|
||
|
- repo: https://github.com/timothycrosley/isort
|
||
|
rev: 5.10.1
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
additional_dependencies: [toml]
|
||
|
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.0.1
|
||
|
hooks:
|
||
|
- id: trailing-whitespace
|
||
|
- id: end-of-file-fixer
|
||
|
- id: debug-statements
|
||
|
- id: pretty-format-json
|
||
|
args:
|
||
|
- --autofix
|
||
|
- id: check-json
|