mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
update .pre-commit-config.yaml
This commit is contained in:
parent
2a9f4de657
commit
e6dd016318
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user