Skip to content

Commit

Permalink
⬆️ update linters for pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brutus committed Feb 2, 2023
1 parent 6445a3d commit d89a012
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.0.1
rev: v4.4.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: v2.3.2
rev: v3.0.0-alpha.4
hooks:
- id: prettier
# exclude HTML templates (no Jinja2 support)
exclude: 'source/_templates/.*\.html'
# YAML
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.1
rev: v1.29.0
hooks:
- id: yamllint
# Python: check syntax
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
rev: 6.0.0
hooks:
- id: flake8
args:
- "--select=F"
# Python: reorder imports
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
rev: v3.9.0
hooks:
- id: reorder-python-imports
args:
- "--application-directories=.:source"
- "--py38-plus"
# Python: lint with black
- repo: https://github.com/psf/black
rev: 21.7b0
rev: 23.1.0
hooks:
- id: black
args:
Expand Down

0 comments on commit d89a012

Please sign in to comment.