diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb6e2a1..0cb0e24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ exclude: (?i)^(.*third[^/]*party/.*|.*\.ts|.*\.trt)$ repos: - repo: https://github.com/sirosen/check-jsonschema # check-jsonschema is a github actions and workflows verifier. - rev: 0.37.2 + rev: 0.38.2 hooks: - id: check-github-actions - id: check-github-workflows @@ -20,7 +20,7 @@ repos: exclude: (?i)(.*docker-compose.*|environment.*|requirement.*)$ # by-pass docker-compose since the %YAML 1.2 will break it. - repo: https://github.com/AleksaC/hadolint-py # hadolint is a Dockerfile linter. - rev: v2.14.0 + rev: v2.15.1 hooks: - id: hadolint args: @@ -28,12 +28,12 @@ repos: - error - repo: https://github.com/scop/pre-commit-shfmt # pre-commit-shfmt formats shell scripts. - rev: v3.13.1-1 + rev: v3.14.1-1 hooks: - id: shfmt - repo: https://github.com/shellcheck-py/shellcheck-py # shellcheck-py is a shellcheck wrapper. - rev: v0.11.0.1 + rev: v0.11.0.1-1 hooks: - id: shellcheck args: @@ -41,18 +41,18 @@ repos: - SC1071,SC1091,SC2016 - repo: https://github.com/asottile/reorder-python-imports - rev: v3.16.0 + rev: v3.17.0 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black-pre-commit-mirror # The uncompromising Python code formatter. - rev: 26.5.1 + rev: 26.10.0 hooks: - id: black - id: black-jupyter - repo: https://github.com/pre-commit/mirrors-clang-format # mirrors-clang-format is a clang-format wrapper, it can format json. - rev: v22.1.5 + rev: v23.1.2 hooks: - id: clang-format files: (?i)\.(h|c|hpp|cpp|hxx|cxx|cc|json)$ # enabled json, if prettier is used, should turn off json. @@ -73,7 +73,7 @@ repos: - id: mdformat - repo: https://github.com/jackdewinter/pymarkdown # pymarkdown is a markdown linter. - rev: v0.9.37 + rev: v0.9.40 hooks: - id: pymarkdown args: diff --git a/docker/build-context/home-folder-config/.p10k.zsh b/docker/build-context/home-folder-config/.p10k.zsh index 368b175..c61aefc 100755 --- a/docker/build-context/home-folder-config/.p10k.zsh +++ b/docker/build-context/home-folder-config/.p10k.zsh @@ -432,11 +432,11 @@ # ⇣42 if behind the remote. ((VCS_STATUS_COMMITS_BEHIND)) && res+=" ${clean}⇣${VCS_STATUS_COMMITS_BEHIND}" # ⇡42 if ahead of the remote; no leading space if also behind the remote: ⇣42⇡42. - ((VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND)) && res+=" " + ((VCS_STATUS_COMMITS_AHEAD && ! VCS_STATUS_COMMITS_BEHIND)) && res+=" " ((VCS_STATUS_COMMITS_AHEAD)) && res+="${clean}⇡${VCS_STATUS_COMMITS_AHEAD}" # ⇠42 if behind the push remote. ((VCS_STATUS_PUSH_COMMITS_BEHIND)) && res+=" ${clean}⇠${VCS_STATUS_PUSH_COMMITS_BEHIND}" - ((VCS_STATUS_PUSH_COMMITS_AHEAD && !VCS_STATUS_PUSH_COMMITS_BEHIND)) && res+=" " + ((VCS_STATUS_PUSH_COMMITS_AHEAD && ! VCS_STATUS_PUSH_COMMITS_BEHIND)) && res+=" " # ⇢42 if ahead of the push remote; no leading space if also behind: ⇠42⇢42. ((VCS_STATUS_PUSH_COMMITS_AHEAD)) && res+="${clean}⇢${VCS_STATUS_PUSH_COMMITS_AHEAD}" # *42 if have stashes. @@ -1651,7 +1651,7 @@ # If p10k is already loaded, reload configuration. # This works even with POWERLEVEL9K_DISABLE_HOT_RELOAD=true. - ((!$+functions[p10k])) || p10k reload + ((! $+functions[p10k])) || p10k reload } # Tell `p10k configure` which file it should overwrite.