|
repos: |
|
- repo: https://github.com/Lucas-C/pre-commit-hooks |
|
rev: 79b8e4f273301e412602c856ddbc0c066765c98c |
|
hooks: |
|
- id: insert-license |
|
files: '^src/.+\.py$|^tests/.+\.py$' |
|
args: ['--license-filepath', 'LICENSE-HEADER'] |
|
- repo: https://github.com/executablebooks/mdformat |
|
rev: a5f167d00d7a1990e69ee02efacc15d6136ea1aa |
|
hooks: |
|
- id: mdformat |
|
additional_dependencies: |
|
- mdformat-toc |
|
- mdformat-gfm |
|
- mdformat-black |
|
- repo: https://github.com/asottile/yesqa |
|
rev: 35cf7dc24fa922927caded7a21b2a8cb04bf8e10 |
|
hooks: |
|
- id: yesqa |
|
additional_dependencies: |
|
- flake8-bugbear |
|
- flake8-builtins |
|
- flake8-comprehensions |
|
- repo: https://github.com/PyCQA/isort |
|
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 |
|
hooks: |
|
- id: isort |
|
- repo: https://github.com/psf/black |
|
rev: fc0be6eb1e2a96091e6f64009ee5e9081bf8b6c6 |
|
hooks: |
|
- id: black |
|
- repo: https://github.com/myint/docformatter |
|
rev: 67919ee01837761f2d954d7fbb08c12cdd38ec5a |
|
hooks: |
|
- id: docformatter |
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
rev: 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26 |
|
hooks: |
|
- id: check-yaml |
|
- repo: https://github.com/pre-commit/pygrep-hooks |
|
rev: 6f51a66bba59954917140ec2eeeaa4d5e630e6ce |
|
hooks: |
|
- id: python-use-type-annotations |
|
- id: python-check-blanket-noqa |
|
- id: python-check-blanket-type-ignore |
|
- repo: https://github.com/PyCQA/flake8 |
|
rev: cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d |
|
hooks: |
|
- id: flake8 |
|
additional_dependencies: |
|
- flake8-bugbear |
|
- flake8-builtins |
|
- flake8-comprehensions |
|
- repo: https://github.com/pre-commit/mirrors-mypy |
|
rev: f6f816c65d285f8a4a15e0e9965b3dd66ecddd79 |
|
hooks: |
|
- id: mypy |
|
args: ["--scripts-are-modules"] |
|
|