|
- exclude: '^$'
- fail_fast: false
- default_language_version:
- python: python3.9
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.3.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: fix-encoding-pragma
- 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.6.4
- hooks:
- - id: isort
- types: [file, python]
- - repo: https://github.com/psf/black
- rev: stable
- hooks:
- - id: black
- language_version: python3.8
- - repo: https://gitlab.com/pycqa/flake8
- rev: 3.8.4
- 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]
|