Update pre-commit versions
This commit is contained in:
parent
f4ef280f80
commit
e00cdc906e
|
@ -1,22 +1,22 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.6.0
|
rev: 23.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
exclude: ^core/migrations
|
exclude: ^core/migrations
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.10.1
|
rev: 5.11.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: ["--profile", "black"]
|
args: ["--profile", "black"]
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 4.0.1
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
args: [--max-line-length=88]
|
args: [--max-line-length=88]
|
||||||
exclude: ^core/migrations
|
exclude: ^core/migrations
|
||||||
- repo: https://github.com/rtts/djhtml
|
- repo: https://github.com/rtts/djhtml
|
||||||
rev: 'v1.5.2'
|
rev: v2.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: djhtml
|
- id: djhtml
|
||||||
args: [-t 2]
|
args: [-t 2]
|
||||||
|
@ -28,8 +28,3 @@ repos:
|
||||||
rev: v0.1.5
|
rev: v0.1.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: ripsecrets
|
- id: ripsecrets
|
||||||
# - repo: https://github.com/thibaudcolas/curlylint
|
|
||||||
# rev: v0.13.1
|
|
||||||
# hooks:
|
|
||||||
# - id: curlylint
|
|
||||||
# files: \.(html|sls)$
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ class ColoredFormatter(logging.Formatter):
|
||||||
|
|
||||||
|
|
||||||
def get_logger(name):
|
def get_logger(name):
|
||||||
|
|
||||||
# Define the logging format
|
# Define the logging format
|
||||||
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
|
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
|
||||||
COLOR_FORMAT = formatter_message(FORMAT, True)
|
COLOR_FORMAT = formatter_message(FORMAT, True)
|
||||||
|
|
Loading…
Reference in New Issue