Files
FastAnime/.pre-commit-config.yaml
2024-08-05 09:47:00 +03:00

26 lines
619 B
YAML

default_language_version:
python: python3.10
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0 # You can replace this with the latest version
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black"] # Ensure compatibility with Black
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.10
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
name: black
language_version: python3.10