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