Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 622 B
Newer Older
  - repo: https://github.com/pre-commit/pre-commit-hooks
Yngve Levinsen's avatar
Yngve Levinsen committed
    rev: v4.3.0
    hooks:
    - id: end-of-file-fixer
    - id: trailing-whitespace
    - id: check-json
  - repo: https://github.com/ambv/black
Yngve Levinsen's avatar
Yngve Levinsen committed
    rev: 22.6.0
Yngve Levinsen's avatar
Yngve Levinsen committed
        args: ['--line-length', '140']
  - repo: https://gitlab.com/pycqa/flake8.git
Yngve Levinsen's avatar
Yngve Levinsen committed
    rev: 3.9.2
        args: ['--max-line-length=140', '--ignore=E203,E402']
  - repo: https://github.com/pre-commit/mirrors-mypy
Yngve Levinsen's avatar
Yngve Levinsen committed
    rev: v0.971
    hooks:
    -   id: mypy
Yngve Levinsen's avatar
Yngve Levinsen committed
        additional_dependencies: [types-setuptools, types-pytz, types-PyYAML]