# pre-commit run --all-files repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.1.0 hooks: - id: check-added-large-files - id: check-case-conflict - id: check-executables-have-shebangs - id: check-merge-conflict - id: check-json - id: check-symlinks - id: check-yaml - id: debug-statements - id: destroyed-symlinks - id: mixed-line-ending - id: trailing-whitespace files: \.(sh|rst|yml|yaml)$ - repo: local hooks: - id: no-tabs name: No tabs description: Reject any files containing a tab entry: '\t' language: pygrep files: \.(py|sh|rst|yml|yaml)$ - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: - id: flake8 additional_dependencies: [ 'flake8-blind-except', 'flake8-bugbear', 'flake8-sfs', 'flake8-pie', 'flake8-implicit-str-concat', ] - repo: https://github.com/myint/rstcheck rev: 3f92957478422df87bd730abde66f089cc1ee19b hooks: - id: rstcheck args: [ --report=warning, ]