mirror of https://github.com/LedFx/LedFx.git
33 lines
815 B
YAML
33 lines
815 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
default_language_version:
|
|
python: python3
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: check-ast
|
|
- id: trailing-whitespace
|
|
- id: check-toml
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile=black"]
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/psf/black
|
|
rev: 24.3.0 # Replace by any tag/version: https://github.com/psf/black/tags
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.15.2
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py39-plus]
|