Spaces:
Starting
Starting
| default_language_version: | |
| python: python3 | |
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v4.4.0 | |
| hooks: | |
| - id: trailing-whitespace | |
| - id: check-ast | |
| - id: check-merge-conflict | |
| - id: check-yaml | |
| - id: end-of-file-fixer | |
| - id: trailing-whitespace | |
| args: [--markdown-linebreak-ext=md] | |
| - repo: https://github.com/astral-sh/ruff-pre-commit | |
| # Ruff version. | |
| rev: v0.3.5 | |
| hooks: | |
| # Run the linter. | |
| - id: ruff | |
| args: [ --fix ] | |
| # Run the formatter. | |
| - id: ruff-format | |