Compare commits

..

No commits in common. "4dddac08ecb3df3594032a2c5b4d660b5ab3fd99" and "04ab9e3958b627df2f101e285c5de6aff16aeedf" have entirely different histories.

5 changed files with 16 additions and 31 deletions

View File

@ -11,7 +11,7 @@ ci:
# the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly
skip: [pnpm-install-dev, prettier, pylint]
skip: [pylint, prettier]
# use pypy3 for python
default_language_version:
@ -74,7 +74,12 @@ 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:
@ -87,7 +92,12 @@ 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
@ -96,24 +106,3 @@ 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]

View File

@ -23,9 +23,6 @@ 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 &)

View File

@ -3,6 +3,5 @@
"@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 025b95201b39cbfc6aa6728544dbfa173794177e
Subproject commit 8223793ab640e682ba1fbfdc6ecaf7a5b8687de7

@ -1 +1 @@
Subproject commit 447dcfdf08526599da8f5ee728beb512b1ac649a
Subproject commit 0b29f1e8133a20038f250dde83a1d84deca44771