mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-09 20:02:32 +01:00
.pre-commit-config.yaml: add SPDX headers, commented links, update prettier & plugins
This commit is contained in:
parent
256ab3e417
commit
c98c44374e
@ -1,3 +1,9 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
# See https://pre-commit.com for more information
|
||||||
|
# See https://pre-commit.ci for more information
|
||||||
ci:
|
ci:
|
||||||
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
||||||
# the frequency of unnecessary PRs.
|
# the frequency of unnecessary PRs.
|
||||||
@ -31,14 +37,16 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: "v3.0.2"
|
rev: "v3.0.3"
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
exclude_types: [python, pyi, jupyter]
|
exclude_types: [python, pyi, jupyter]
|
||||||
#additional_dependencies: [
|
additional_dependencies: [
|
||||||
#"prettier@3.0.0",
|
# https://www.npmjs.com/package/prettier
|
||||||
#"@prettier/plugin-ruby@3.2.2",
|
"prettier@3.0.3",
|
||||||
#]
|
# https://www.npmjs.com/package/@prettier/plugin-ruby
|
||||||
|
"@prettier/plugin-ruby@4.0.2",
|
||||||
|
]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.7.0
|
rev: 23.7.0
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user