Fixing scripts

This commit is contained in:
fundor333
2025-04-14 00:56:09 +02:00
parent 5ab8d8c1d1
commit 42e6415807
6 changed files with 48 additions and 39 deletions

View File

@@ -1,20 +1,15 @@
fail_fast: true
repos:
- repo: https://github.com/adamchainz/djade-pre-commit
rev: "1.3.2" # Replace with the latest tag on GitHub
rev: "1.4.0" # Replace with the latest tag on GitHub
hooks:
- id: djade
args: [--target-version, "4.2"] # Replace with Django version
- repo: https://github.com/pycqa/bandit
rev: 1.8.3
hooks:
- id: bandit
args: ["-iii", "-ll"]
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
language_version: python3.9
language_version: python3.12
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
@@ -38,7 +33,7 @@ repos:
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py311-plus]
args: [--py312-plus]
- repo: https://github.com/PyCQA/flake8
rev: 7.2.0
hooks: