Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
hooks:
- id: check-github-actions
- id: check-github-workflows
Expand All @@ -20,28 +20,28 @@ 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:
- -t
- 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:
- -e
- SC1071,SC1091,SC2016

- repo: https://github.com/asottile/reorder-python-imports
rev: v3.16.0
rev: v3.17.0
hooks:
- id: reorder-python-imports

Expand All @@ -52,7 +52,7 @@ repos:
- 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.1
hooks:
- id: clang-format
files: (?i)\.(h|c|hpp|cpp|hxx|cxx|cc|json)$ # enabled json, if prettier is used, should turn off json.
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions docker/build-context/home-folder-config/.p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Loading