Skip to content

Commit

Permalink
Update codespell to v2.3.0
Browse files Browse the repository at this point in the history
Version 2.3.0 of codespell allows using inline
comments to ignore some spelling errors.

codespell-project/codespell#2400

Signed-off-by: Mario Loriedo <[email protected]>
  • Loading branch information
l0rd committed Nov 4, 2024
1 parent df9ca6e commit 0d9e4d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ repos:
- id: check-yaml
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in .codespellrc
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
6 changes: 4 additions & 2 deletions test/system/800-config.bats
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ EOF
FOO="$random_env_var" run_podman --module=$conf_tmp run -d --name=$cname $IMAGE top
cname="$output"

# Make sure `env_host` is read
run_podman container inspect $cname --format "{{.Config.Env}}"
# Make sure `env_host` is read.
# Only print the env vars that start with "FOO" to avoid printing output that
# may be considered problematic (see run_podman in helpers.bash).
run_podman container inspect $cname --format '{{range .Config.Env}} {{if eq "FOO" (slice . 0 3) }} {{.}} {{end}} {{end}}'
assert "$output" =~ "FOO=$random_env_var" "--module should yield injecting host env vars into the container"

# Make sure `privileged` is read during container creation
Expand Down

0 comments on commit 0d9e4d7

Please sign in to comment.