Merge pull request #320 from mawoka-myblock/pre-commit-ci-update-config

This commit is contained in:
Marlon
2024-01-23 18:34:11 +01:00
committed by GitHub
+4 -4
View File
@@ -16,11 +16,11 @@ repos:
# - id: check-added-large-files # - id: check-added-large-files
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 23.11.0 rev: 23.12.1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v4.0.0-alpha.4' # Use the sha / tag you want to point at rev: 'v4.0.0-alpha.8' # Use the sha / tag you want to point at
hooks: hooks:
- id: prettier - id: prettier
files: "^frontend/" files: "^frontend/"
@@ -29,13 +29,13 @@ repos:
- "prettier-plugin-svelte@latest" - "prettier-plugin-svelte@latest"
- "prettier@latest" - "prettier@latest"
- repo: https://github.com/pycqa/flake8 - repo: https://github.com/pycqa/flake8
rev: 6.1.0 rev: 7.0.0
hooks: hooks:
- id: flake8 - id: flake8
# flake8 is passed in all tracked python files # flake8 is passed in all tracked python files
# so --exclude in .flake8 does not work # so --exclude in .flake8 does not work
exclude: ^migrations/versions/ exclude: ^migrations/versions/
- repo: https://github.com/fsfe/reuse-tool - repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0 rev: v3.0.1
hooks: hooks:
- id: reuse - id: reuse