kikocis/auto-code-rover public
| 1 | default_language_version: |
| 2 | python: python3.11 |
| 3 | |
| 4 | repos: |
| 5 | - repo: https://github.com/asottile/pyupgrade |
| 6 | rev: v3.15.2 |
| 7 | hooks: |
| 8 | - id: pyupgrade |
| 9 | args: ["--py311-plus"] |
| 10 | |
| 11 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 12 | rev: v0.3.7 |
| 13 | hooks: |
| 14 | - id: ruff |
| 15 | args: ["--fix"] |
| 16 | |
| 17 | - repo: https://github.com/pycqa/isort |
| 18 | rev: 5.13.2 |
| 19 | hooks: |
| 20 | - id: isort |
| 21 | name: isort (python) |
| 22 | args: ["--profile", "black"] |
| 23 | |
| 24 | - repo: https://github.com/psf/black |
| 25 | rev: 24.4.0 |
| 26 | hooks: |
| 27 | - id: black |