build: drop flake8 for ruff and update pre-commit repos

This commit is contained in:
Daylin Morgan 2023-03-20 01:32:08 -05:00
parent a8175ab675
commit cdb6bacf37
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1,23 +1,23 @@
exclude: "^(src/.*|bin/font-patcher)"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.257'
hooks:
- id: flake8
- id: ruff
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
hooks: