mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-17 03:37:40 +02:00
Compare commits
3 Commits
04ab9e3958
...
4dddac08ec
Author | SHA1 | Date | |
---|---|---|---|
4dddac08ec | |||
9074a0633b | |||
d03fcbc92b |
37
.pre-commit-config.yaml
vendored
37
.pre-commit-config.yaml
vendored
@ -11,7 +11,7 @@ ci:
|
||||
# the frequency of unnecessary PRs.
|
||||
# https://github.com/pre-commit-ci/issues/issues/83
|
||||
autoupdate_schedule: quarterly
|
||||
skip: [pylint, prettier]
|
||||
skip: [pnpm-install-dev, prettier, pylint]
|
||||
|
||||
# use pypy3 for python
|
||||
default_language_version:
|
||||
@ -74,12 +74,7 @@ repos:
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: add-trailing-comma
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||
language: system
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.4.2
|
||||
hooks:
|
||||
@ -92,12 +87,7 @@ repos:
|
||||
# hooks:
|
||||
# - id: shfmt
|
||||
#- id: shfmt-docker
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.3"
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pylint
|
||||
@ -106,3 +96,24 @@ repos:
|
||||
entry: pylint -j 0 -d W0511
|
||||
language: system
|
||||
types_or: [python, pyi]
|
||||
- id: pnpm-install-dev
|
||||
name: Install pnpm dev dependencies
|
||||
entry: corepack pnpm install -D
|
||||
language: system
|
||||
always_run: true
|
||||
#verbose: true
|
||||
pass_filenames: false
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: corepack pnpm exec prettier --cache --ignore-unknown --write
|
||||
language: system
|
||||
# Better handled by pretty-format-json from pre-commit-hooks.
|
||||
# Remember to have *.json in .prettierignore!
|
||||
exclude_types: [json]
|
||||
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.3"
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
@ -23,6 +23,9 @@ adb "$@" shell pm grant com.f0x1d.logfox android.permission.READ_LOGS
|
||||
# https://github.com/c-lis/morelocale
|
||||
adb "$@" shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION
|
||||
|
||||
# https://github.com/karasevm/PrivateDNSAndroid
|
||||
adb "$@" shell pm grant ru.karasevm.privatednstoggle android.permission.WRITE_SECURE_SETTINGS
|
||||
|
||||
# Shizuku
|
||||
#(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &)
|
||||
(adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &)
|
||||
|
@ -3,5 +3,6 @@
|
||||
"@prettier/plugin-ruby": "4.0.4",
|
||||
"prettier": "3.3.2",
|
||||
"prettier-plugin-sh": "0.14.0"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8223793ab640e682ba1fbfdc6ecaf7a5b8687de7
|
||||
Subproject commit 025b95201b39cbfc6aa6728544dbfa173794177e
|
@ -1 +1 @@
|
||||
Subproject commit 0b29f1e8133a20038f250dde83a1d84deca44771
|
||||
Subproject commit 447dcfdf08526599da8f5ee728beb512b1ac649a
|
Loading…
x
Reference in New Issue
Block a user