Last active
October 10, 2023 11:29
-
-
Save Anselmoo/796a32ee415e4f41a99d54a2d1e12494 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.5.0 | |
hooks: | |
- id: check-yaml | |
exclude: mkdocs.yml | |
- id: check-toml | |
- id: check-json | |
- id: check-symlinks | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- id: check-ast | |
- id: check-merge-conflict | |
- id: check-added-large-files | |
args: ["--maxkb=1000"] | |
- repo: https://github.com/psf/black.git | |
rev: 23.9.1 | |
hooks: | |
- id: black | |
- repo: https://github.com/asottile/blacken-docs | |
rev: 1.16.0 | |
hooks: | |
- id: blacken-docs | |
additional_dependencies: [black==21.12b0] | |
- repo: https://github.com/PyCQA/isort.git | |
rev: 5.12.0 | |
hooks: | |
- id: isort | |
additional_dependencies: [toml==0.10.2] | |
- repo: https://github.com/PyCQA/flake8.git | |
rev: 6.1.0 | |
hooks: | |
- id: flake8 | |
exclude: ^examples/ | |
additional_dependencies: [flake8-docstrings] | |
entry: flake8 --docstring-convention google --max-doc-length 100 --max-line-length 88 --ignore E203,W503,W605 | |
- repo: https://github.com/pre-commit/mirrors-mypy | |
rev: v1.5.1 | |
hooks: | |
- id: mypy | |
additional_dependencies: | |
[types-toml==0.10.4, types-PyYAML==6.0.1, types-tabulate==0.8.4] | |
- repo: https://github.com/pycqa/pydocstyle | |
rev: 6.3.0 # pick a git hash / tag to point to | |
hooks: | |
- id: pydocstyle | |
additional_dependencies: [toml==0.10.2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment