Skip to content

Commit

Permalink
Fix pre-commit config and formatting (Issue univention/ucsschool#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
dansan committed Aug 4, 2022
1 parent bc0a965 commit fecbc02
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -13,7 +13,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.7.0
rev: v1.9.0
hooks:
- id: python-check-blanket-noqa
- id: python-no-eval
Expand All @@ -26,7 +26,7 @@ repos:
- id: rst-linter
exclude: ^docs/.*.rst$
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.1.3
rev: v1.3.0
hooks:
- id: python-safety-dependencies-check
- repo: https://github.com/asottile/seed-isort-config
Expand All @@ -35,7 +35,7 @@ repos:
- id: seed-isort-config
args: [--application-directories, tests udm_rest_client, --extra, update_openapi_client]
- repo: https://github.com/timothycrosley/isort
rev: 5.7.0
rev: 5.10.1
hooks:
- id: isort
entry: isort -c
Expand All @@ -44,20 +44,20 @@ repos:
stages: [manual]
entry: isort
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.6.0
hooks:
- id: black
entry: black --check --diff --config .black
- id: black
alias: black-edit
stages: [manual]
entry: black --config .black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
entry: bandit -x tests
Expand Down

0 comments on commit fecbc02

Please sign in to comment.