Update pre-commit versions

This commit is contained in:
Mark Veidemanis 2023-02-09 07:20:17 +00:00
parent f4ef280f80
commit e00cdc906e
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 4 additions and 10 deletions

View File

@ -1,22 +1,22 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 23.1.0
hooks:
- id: black
exclude: ^core/migrations
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.11.5
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
args: [--max-line-length=88]
exclude: ^core/migrations
- repo: https://github.com/rtts/djhtml
rev: 'v1.5.2'
rev: v2.0.0
hooks:
- id: djhtml
args: [-t 2]
@ -28,8 +28,3 @@ repos:
rev: v0.1.5
hooks:
- id: ripsecrets
# - repo: https://github.com/thibaudcolas/curlylint
# rev: v0.13.1
# hooks:
# - id: curlylint
# files: \.(html|sls)$

View File

@ -43,7 +43,6 @@ class ColoredFormatter(logging.Formatter):
def get_logger(name):
# Define the logging format
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
COLOR_FORMAT = formatter_message(FORMAT, True)