- exclude: '^(.*\.(svg))?$'
- fail_fast: false
- default_language_version:
- python: python3.9
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.1.0
- hooks:
- - id: check-added-large-files
- - id: check-ast
- types: [file, python]
- - id: check-case-conflict
- - id: check-json
- types: [file, json]
- - id: check-merge-conflict
- - id: check-symlinks
- types: [symlink]
- - id: check-yaml
- args: [--allow-multiple-documents]
- types: [file, yaml]
- - id: detect-private-key
- types: [file, text]
- - id: end-of-file-fixer
- types: [file, python]
- - id: requirements-txt-fixer
- types: [file, text]
- - id: trailing-whitespace
- args: [--markdown-linebreak-ext=md]
- types: [file, text]
- exclude: ^docs/.*/coverage/.*\.html$
- - repo: https://github.com/PyCQA/isort
- rev: 5.10.1
- hooks:
- - id: isort
- types: [file, python]
- - repo: https://github.com/psf/black
- rev: stable
- hooks:
- - id: black
- language_version: python3.9
- - repo: https://gitlab.com/pycqa/flake8
- rev: 4.0.1
- hooks:
- - id: flake8
- exclude: ^setup.py$
- types: [file, python]
- - repo: local
- hooks:
- - id: check-manifest
- name: Check Manifest
- description: Check package manifest against git committed files.
- always_run: true
- files: '^$'
- entry: check-manifest
- language: python
- types: [file, plain-text]
|