mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-20 13:27:20 +02:00
Compare commits
No commits in common. "803adb405fc1888f2ba51d1f2b105e018b754cd4" and "bf6daf410eaf9440a0983ad3fe9cc31e34857381" have entirely different histories.
803adb405f
...
bf6daf410e
37
.pre-commit-config.yaml
vendored
37
.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]
|
||||||
|
|
||||||
# use pypy3 for python
|
# use pypy3 for python
|
||||||
default_language_version:
|
default_language_version:
|
||||||
@ -71,24 +71,17 @@ repos:
|
|||||||
rev: v3.1.0
|
rev: v3.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: add-trailing-comma
|
- id: add-trailing-comma
|
||||||
- repo: local
|
- repo: https://github.com/rbubley/mirrors-prettier
|
||||||
|
rev: "v3.3.0"
|
||||||
hooks:
|
hooks:
|
||||||
- id: pnpm-prettier
|
- id: prettier
|
||||||
name: prettier
|
exclude_types: [python, pyi, jupyter]
|
||||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
additional_dependencies: [
|
||||||
language: system
|
# https://www.npmjs.com/package/prettier
|
||||||
exclude_types: [json]
|
"prettier@3.2.5",
|
||||||
# - repo: https://github.com/rbubley/mirrors-prettier
|
# https://www.npmjs.com/package/@prettier/plugin-ruby
|
||||||
# rev: "v3.3.0"
|
"@prettier/plugin-ruby@4.0.4",
|
||||||
# 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:
|
||||||
@ -96,10 +89,10 @@ repos:
|
|||||||
#Refer to pyproject.toml
|
#Refer to pyproject.toml
|
||||||
#args: ["--line-length", "79", "--target-version", "py310"]
|
#args: ["--line-length", "79", "--target-version", "py310"]
|
||||||
#- id: black-jupyter
|
#- id: black-jupyter
|
||||||
# - repo: https://github.com/scop/pre-commit-shfmt
|
- repo: https://github.com/scop/pre-commit-shfmt
|
||||||
# rev: v3.8.0-1
|
rev: v3.8.0-1
|
||||||
# hooks:
|
hooks:
|
||||||
# - id: shfmt
|
- id: shfmt
|
||||||
#- id: shfmt-docker
|
#- id: shfmt-docker
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
rev: "2.7.3"
|
rev: "2.7.3"
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
|
|
||||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
|
||||||
}
|
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
if [ -f /usr/bin/code ]; then
|
if [ -f /usr/bin/code ]; then
|
||||||
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=wayland "$@"
|
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=x11 "$@"
|
||||||
|
|
||||||
elif [ -f /snap/bin/code ]; then
|
elif [ -f /snap/bin/code ]; then
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
if [ -f /usr/bin/codium ]; then
|
if [ -f /usr/bin/codium ]; then
|
||||||
/usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=wayland "$@"
|
/usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=x11 "$@"
|
||||||
|
|
||||||
elif [ -f /snap/bin/codium ]; then
|
elif [ -f /snap/bin/codium ]; then
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@prettier/plugin-ruby": "4.0.4",
|
"@prettier/plugin-ruby": "4.0.4",
|
||||||
"prettier": "3.3.1",
|
"prettier": "3.3.0"
|
||||||
"prettier-plugin-sh": "0.14.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
61
pnpm-lock.yaml
generated
vendored
61
pnpm-lock.yaml
generated
vendored
@ -9,13 +9,10 @@ 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.0)
|
||||||
prettier:
|
prettier:
|
||||||
specifier: 3.3.1
|
specifier: 3.3.0
|
||||||
version: 3.3.1
|
version: 3.3.0
|
||||||
prettier-plugin-sh:
|
|
||||||
specifier: 0.14.0
|
|
||||||
version: 0.14.0(prettier@3.3.1)
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
"@prettier/plugin-ruby@4.0.4":
|
"@prettier/plugin-ruby@4.0.4":
|
||||||
@ -26,59 +23,17 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
prettier: ^3.0.0
|
prettier: ^3.0.0
|
||||||
|
|
||||||
mvdan-sh@0.10.1:
|
prettier@3.3.0:
|
||||||
resolution:
|
resolution:
|
||||||
{
|
{
|
||||||
integrity: sha512-kMbrH0EObaKmK3nVRKUIIya1dpASHIEusM13S4V1ViHFuxuNxCo+arxoa6j/dbV22YBGjl7UKJm9QQKJ2Crzhg==,
|
integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==,
|
||||||
}
|
|
||||||
|
|
||||||
prettier-plugin-sh@0.14.0:
|
|
||||||
resolution:
|
|
||||||
{
|
|
||||||
integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==,
|
|
||||||
}
|
|
||||||
engines: { node: ">=16.0.0" }
|
|
||||||
peerDependencies:
|
|
||||||
prettier: ^3.0.3
|
|
||||||
|
|
||||||
prettier@3.3.1:
|
|
||||||
resolution:
|
|
||||||
{
|
|
||||||
integrity: sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==,
|
|
||||||
}
|
}
|
||||||
engines: { node: ">=14" }
|
engines: { node: ">=14" }
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
sh-syntax@0.4.2:
|
|
||||||
resolution:
|
|
||||||
{
|
|
||||||
integrity: sha512-/l2UZ5fhGZLVZa16XQM9/Vq/hezGGbdHeVEA01uWjOL1+7Ek/gt6FquW0iKKws4a9AYPYvlz6RyVvjh3JxOteg==,
|
|
||||||
}
|
|
||||||
engines: { node: ">=16.0.0" }
|
|
||||||
|
|
||||||
tslib@2.6.3:
|
|
||||||
resolution:
|
|
||||||
{
|
|
||||||
integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==,
|
|
||||||
}
|
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
"@prettier/plugin-ruby@4.0.4(prettier@3.3.1)":
|
"@prettier/plugin-ruby@4.0.4(prettier@3.3.0)":
|
||||||
dependencies:
|
dependencies:
|
||||||
prettier: 3.3.1
|
prettier: 3.3.0
|
||||||
|
|
||||||
mvdan-sh@0.10.1: {}
|
prettier@3.3.0: {}
|
||||||
|
|
||||||
prettier-plugin-sh@0.14.0(prettier@3.3.1):
|
|
||||||
dependencies:
|
|
||||||
mvdan-sh: 0.10.1
|
|
||||||
prettier: 3.3.1
|
|
||||||
sh-syntax: 0.4.2
|
|
||||||
|
|
||||||
prettier@3.3.1: {}
|
|
||||||
|
|
||||||
sh-syntax@0.4.2:
|
|
||||||
dependencies:
|
|
||||||
tslib: 2.6.3
|
|
||||||
|
|
||||||
tslib@2.6.3: {}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user