mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-05 01:07:13 -08:00
26 lines
619 B
YAML
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
|