Skip to content

Commit

Permalink
move codespell ref comment within section so it would survive sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jan 26, 2024
1 parent f37bcfb commit 3f75c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codespellit
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ if [ -e pyproject.toml ]; then
config="pyproject.toml"
cat >> pyproject.toml <<EOF
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '$skips'
check-hidden = true
${ignore_regex_prefix}ignore-regex = '$ignore_regex'
Expand All @@ -93,8 +93,8 @@ else
skips+=",$config" # for check-hidden
# Then config file as the "last" commit we can amend if needed
cat > .codespellrc <<EOF
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = $skips
check-hidden = true
${ignore_regex_prefix}ignore-regex = $ignore_regex
Expand Down

0 comments on commit 3f75c54

Please sign in to comment.