| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| default_language_version: |
| python: python3 |
|
|
| ci: |
| autofix_prs: true |
| autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions' |
| autoupdate_schedule: quarterly |
|
|
| repos: |
| - repo: https://github.com/pre-commit/pre-commit-hooks |
| rev: v4.3.0 |
| hooks: |
| - id: check-yaml |
| - id: check-case-conflict |
| - id: detect-private-key |
| - id: check-added-large-files |
| args: ['--maxkb=1000'] |
| - id: requirements-txt-fixer |
| - id: end-of-file-fixer |
| - id: trailing-whitespace |
|
|
| - repo: https://github.com/PyCQA/isort |
| rev: 5.12.0 |
| hooks: |
| - id: isort |
| name: Format imports |
|
|
| - repo: https://github.com/psf/black |
| rev: 22.12.0 |
| hooks: |
| - id: black |
| name: Format code |
| additional_dependencies: ['click==8.0.2'] |
|
|
| - repo: https://github.com/charliermarsh/ruff-pre-commit |
| |
| rev: 'v0.0.267' |
| hooks: |
| - id: ruff |
|
|