mirror of https://github.com/mamba-org/mamba.git
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 19.10b0
|
|
hooks:
|
|
- id: black
|
|
args: [--safe, --quiet]
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
rev: v1.7.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
additional_dependencies: [black==19.10b0]
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: fix-encoding-pragma
|
|
args: [--remove]
|
|
- id: check-yaml
|
|
exclude: tests
|
|
- id: check-toml
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: pretty-format-json
|
|
args: [--autofix]
|
|
- id: debug-statements
|
|
language_version: python3
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
rev: v5.2.2
|
|
hooks:
|
|
- id: isort
|
|
exclude: tests/data
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.3
|
|
hooks:
|
|
- id: flake8
|
|
language_version: python3
|
|
additional_dependencies:
|
|
- flake8-typing-imports==1.9.0
|
|
- flake8-builtins==1.5.3
|
|
- flake8-bugbear==20.1.4
|
|
- flake8-isort==3.0.1
|
|
- repo: https://github.com/bmorcos/pre-commit-hooks-cpp
|
|
rev: master
|
|
hooks:
|
|
- id: clang-format
|
|
args: [--style=file]
|