| |
| |
| |
| |
| |
| |
| |
| |
| |
| exclude: "(.idea)|(docs)" |
| repos: |
| - repo: https://github.com/charliermarsh/ruff-pre-commit |
| rev: "v0.0.290" |
| hooks: |
| - id: ruff |
| args: [--fix, --exit-non-zero-on-fix, --ignore, E501] |
| - repo: https://github.com/koalaman/shellcheck-precommit |
| rev: v0.9.0 |
| hooks: |
| - id: shellcheck |
| - repo: https://github.com/pre-commit/pre-commit-hooks |
| rev: v4.4.0 |
| hooks: |
| - id: check-ast |
| - id: check-builtin-literals |
| - id: check-merge-conflict |
| - id: check-symlinks |
| - id: check-toml |
| - id: check-xml |
| - id: debug-statements |
| - id: check-case-conflict |
| - id: check-docstring-first |
| - id: check-executables-have-shebangs |
| - id: check-json |
| - id: check-yaml |
| - id: debug-statements |
| - id: fix-byte-order-marker |
| - id: detect-private-key |
| - id: end-of-file-fixer |
| - id: trailing-whitespace |
| - id: mixed-line-ending |
| - id: requirements-txt-fixer |
| - repo: https://github.com/pre-commit/mirrors-mypy |
| rev: v1.5.1 |
| hooks: |
| - id: mypy |
| - repo: https://github.com/asottile/add-trailing-comma |
| rev: v3.1.0 |
| hooks: |
| - id: add-trailing-comma |
| |
| |
| |
| |
| - repo: https://github.com/psf/black |
| rev: 23.9.1 |
| hooks: |
| - id: black |
| - repo: https://github.com/PyCQA/bandit |
| rev: 1.7.5 |
| hooks: |
| - id: bandit |
| args: ["-x", "tests/*.py"] |
|
|