mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-17 20:07:20 +02:00
Compare commits
4 Commits
9e738b9820
...
bf8d43c31f
Author | SHA1 | Date | |
---|---|---|---|
bf8d43c31f | |||
3ed72ca932 | |||
05290f4f3c | |||
41a18229a2 |
18
.pre-commit-config.yaml
vendored
18
.pre-commit-config.yaml
vendored
@ -9,7 +9,7 @@ ci:
|
|||||||
# the frequency of unnecessary PRs.
|
# the frequency of unnecessary PRs.
|
||||||
# https://github.com/pre-commit-ci/issues/issues/83
|
# https://github.com/pre-commit-ci/issues/issues/83
|
||||||
autoupdate_schedule: quarterly
|
autoupdate_schedule: quarterly
|
||||||
skip: [pylint, pnpm-prettier]
|
skip: [pylint, prettier]
|
||||||
|
|
||||||
# use pypy3 for python
|
# use pypy3 for python
|
||||||
default_language_version:
|
default_language_version:
|
||||||
@ -57,7 +57,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.15.2
|
rev: v3.16.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args:
|
args:
|
||||||
@ -73,22 +73,10 @@ repos:
|
|||||||
- id: add-trailing-comma
|
- id: add-trailing-comma
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: pnpm-prettier
|
- id: prettier
|
||||||
name: prettier
|
name: prettier
|
||||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||||
language: system
|
language: system
|
||||||
exclude_types: [json]
|
|
||||||
# - repo: https://github.com/rbubley/mirrors-prettier
|
|
||||||
# rev: "v3.3.0"
|
|
||||||
# hooks:
|
|
||||||
# - id: prettier
|
|
||||||
# exclude_types: [python, pyi, jupyter]
|
|
||||||
# additional_dependencies: [
|
|
||||||
# # https://www.npmjs.com/package/prettier
|
|
||||||
# "prettier@3.2.5",
|
|
||||||
# # https://www.npmjs.com/package/@prettier/plugin-ruby
|
|
||||||
# "@prettier/plugin-ruby@4.0.4",
|
|
||||||
# ]
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 24.4.2
|
rev: 24.4.2
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
*.json
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@prettier/plugin-ruby": "4.0.4",
|
"@prettier/plugin-ruby": "4.0.4",
|
||||||
"prettier": "3.3.1",
|
"prettier": "3.3.2",
|
||||||
"prettier-plugin-sh": "0.14.0"
|
"prettier-plugin-sh": "0.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
22
pnpm-lock.yaml
generated
vendored
22
pnpm-lock.yaml
generated
vendored
@ -9,13 +9,13 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
"@prettier/plugin-ruby":
|
"@prettier/plugin-ruby":
|
||||||
specifier: 4.0.4
|
specifier: 4.0.4
|
||||||
version: 4.0.4(prettier@3.3.1)
|
version: 4.0.4(prettier@3.3.2)
|
||||||
prettier:
|
prettier:
|
||||||
specifier: 3.3.1
|
specifier: 3.3.2
|
||||||
version: 3.3.1
|
version: 3.3.2
|
||||||
prettier-plugin-sh:
|
prettier-plugin-sh:
|
||||||
specifier: 0.14.0
|
specifier: 0.14.0
|
||||||
version: 0.14.0(prettier@3.3.1)
|
version: 0.14.0(prettier@3.3.2)
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
"@prettier/plugin-ruby@4.0.4":
|
"@prettier/plugin-ruby@4.0.4":
|
||||||
@ -41,10 +41,10 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
prettier: ^3.0.3
|
prettier: ^3.0.3
|
||||||
|
|
||||||
prettier@3.3.1:
|
prettier@3.3.2:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==,
|
integrity: sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==,
|
||||||
}
|
}
|
||||||
engines: { node: ">=14" }
|
engines: { node: ">=14" }
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@ -63,19 +63,19 @@ packages:
|
|||||||
}
|
}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
"@prettier/plugin-ruby@4.0.4(prettier@3.3.1)":
|
"@prettier/plugin-ruby@4.0.4(prettier@3.3.2)":
|
||||||
dependencies:
|
dependencies:
|
||||||
prettier: 3.3.1
|
prettier: 3.3.2
|
||||||
|
|
||||||
mvdan-sh@0.10.1: {}
|
mvdan-sh@0.10.1: {}
|
||||||
|
|
||||||
prettier-plugin-sh@0.14.0(prettier@3.3.1):
|
prettier-plugin-sh@0.14.0(prettier@3.3.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
mvdan-sh: 0.10.1
|
mvdan-sh: 0.10.1
|
||||||
prettier: 3.3.1
|
prettier: 3.3.2
|
||||||
sh-syntax: 0.4.2
|
sh-syntax: 0.4.2
|
||||||
|
|
||||||
prettier@3.3.1: {}
|
prettier@3.3.2: {}
|
||||||
|
|
||||||
sh-syntax@0.4.2:
|
sh-syntax@0.4.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 3a458de9a7234ed280aee22592ebe2e7ff7ef5e9
|
Subproject commit 65123306679da3565a19665ce6efae498e711a47
|
@ -1 +1 @@
|
|||||||
Subproject commit bd25f408a026859b67bb8922dfcd0a0a50cead73
|
Subproject commit a9965d33e35897564f500f474dd71fbce04cca93
|
Loading…
x
Reference in New Issue
Block a user