|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exclude: "AI_CHANGELOG.md" |
|
repos: |
|
- repo: https://github.com/charliermarsh/ruff-pre-commit |
|
rev: "v0.1.8" |
|
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.5.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: 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/psf/black |
|
rev: 23.12.0 |
|
hooks: |
|
- id: black |
|
- repo: https://github.com/asottile/add-trailing-comma |
|
rev: v3.1.0 |
|
hooks: |
|
- id: add-trailing-comma |
|
- repo: https://github.com/pre-commit/mirrors-mypy |
|
rev: v1.7.1 |
|
hooks: |
|
- id: mypy |
|
additional_dependencies: |
|
- types-requests |
|
- repo: https://github.com/PyCQA/bandit |
|
rev: 1.7.6 |
|
hooks: |
|
- id: bandit |
|
args: ["-x", "tests/*.py", "-s", "B113"] |
|
|