Skip to content

Commit

Permalink
⬆️ update linters for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeg authored and nichtmax committed Feb 6, 2024
1 parent e698091 commit 4572500
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default_language_version:
exclude: '\.svg$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
# Generall Stuff
- id: trailing-whitespace
Expand All @@ -23,34 +23,34 @@ repos:
- id: requirements-txt-fixer
# Prettier (HTML, JS, CSS, Markdown…)
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v4.0.0-alpha.8
hooks:
- id: prettier
# exclude HTML templates (no Jinja2 support)
exclude: 'source/_templates/.*\.html'
# YAML
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.29.0
rev: v1.33.0
hooks:
- id: yamllint
# Python: check syntax
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args:
- "--select=F"
# Python: reorder imports
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.9.0
rev: v3.12.0
hooks:
- id: reorder-python-imports
args:
- "--application-directories=.:source"
- "--py38-plus"
# Python: lint with black
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.12.1
hooks:
- id: black
args:
Expand Down

0 comments on commit 4572500

Please sign in to comment.