| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- default_stages:
- - commit
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.3.0
- hooks:
- - id: check-added-large-files
- - id: check-case-conflict
- - id: check-docstring-first
- - id: check-executables-have-shebangs
- - id: check-shebang-scripts-are-executable
- - id: check-symlinks
- - id: check-yaml
- - id: debug-statements
- - id: destroyed-symlinks
- - id: detect-private-key
- - id: end-of-file-fixer
- - id: requirements-txt-fixer
- - id: trailing-whitespace
- - repo: https://github.com/executablebooks/mdformat
- rev: 0.7.16
- hooks:
- - id: mdformat
- additional_dependencies:
- - mdformat-gfm
- - mdformat-black
- - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
- rev: 0.2.2
- hooks:
- - id: yamlfmt
- args:
- - --mapping
- - '2'
- - --sequence
- - '4'
- - --offset
- - '2'
- - --implicit_start
- - repo: https://github.com/psf/black
- rev: 22.8.0
- hooks:
- - id: black
- language_version: python3
- - id: black-jupyter
- language_version: python3
- - repo: https://github.com/asottile/blacken-docs
- rev: v1.12.1
- hooks:
- - id: blacken-docs
- - repo: https://github.com/PyCQA/isort
- rev: 5.10.1
- hooks:
- - id: isort
- args: [--profile, black]
- - repo: https://github.com/PyCQA/docformatter
- rev: v1.5.0
- hooks:
- - id: docformatter
- args:
- - --in-place
- - --wrap-summaries
- - '88'
- - --wrap-descriptions
- - '81'
- - repo: https://github.com/PyCQA/flake8
- rev: 5.0.4
- hooks:
- - id: flake8
- additional_dependencies:
- - flake8-use-pathlib
- - flake8-bugbear
- - flake8-pytest-style
- - flake8-comprehensions
- - repo: https://github.com/PyCQA/pylint
- rev: v2.15.0
- hooks:
- - id: pylint
- - repo: https://github.com/asottile/pyupgrade
- rev: v2.37.3
- hooks:
- - id: pyupgrade
- args:
- - --py38-plus
- - repo: https://github.com/asottile/yesqa
- rev: v1.4.0
- hooks:
- - id: yesqa
- - repo: https://github.com/PyCQA/autoflake
- rev: v1.5.3
- hooks:
- - id: autoflake
- # - repo: https://github.com/crate-ci/typos
- # rev: v1.12.4
- # hooks:
- # - id: typos
|