LiberTEM/LiberTEM

View on GitHub
.pre-commit-config.yaml

Summary

Maintainability
Test Coverage
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.3.0
  hooks:
  - id: trailing-whitespace
    files: ^src/
    exclude: ^src/libertem/web/client/
  - id: end-of-file-fixer
    files: ^src/
    exclude: ^src/libertem/web/client/
  - id: check-yaml
  - id: check-added-large-files
    exclude: ^src/libertem/web/client/static
- repo: https://github.com/pycqa/flake8
  rev: 5.0.4
  hooks:
  - id: flake8
    exclude: ^prototypes/
- repo: https://github.com/regebro/pyroma
  rev: "4.0"
  hooks:
  - id: pyroma
- repo: https://github.com/asottile/pyupgrade
  rev: v2.37.3
  hooks:
    - id: pyupgrade
      args: ["--py36-plus"]
- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v0.971
  hooks:
  - id: mypy
    verbose: true
    entry: python ./scripts/run_mypy.py