update .pre-commit-config.yaml

This commit is contained in:
Aminda Suomalainen 2023-11-17 12:45:10 +02:00
parent 2a9f4de657
commit e6dd016318
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ repos:
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
args: [--update-only]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.7.0"
hooks:
- id: mypy
- repo: https://github.com/asottile/pyupgrade
@ -72,25 +72,25 @@ repos:
hooks:
- id: add-trailing-comma
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"
rev: "v3.1.0"
hooks:
- id: prettier
exclude_types: [python, pyi, jupyter]
additional_dependencies: [
# https://www.npmjs.com/package/prettier
"prettier@3.0.3",
"prettier@3.1.0",
# https://www.npmjs.com/package/@prettier/plugin-ruby
"@prettier/plugin-ruby@4.0.2",
]
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 23.11.0
hooks:
- id: black
#Refer to pyproject.toml
#args: ["--line-length", "79", "--target-version", "py310"]
#- id: black-jupyter
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.7.0-1
rev: v3.7.0-3
hooks:
- id: shfmt
#- id: shfmt-docker