Skip to content

Commit

Permalink
Ignore misspelled fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
jurre committed Jan 30, 2024
1 parent 21d2165 commit 5568c37
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
5 changes: 3 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[codespell]
skip = .git,*.pdf,*.svg,gems,index,fixtures,CHANGELOG_ARCHIVE_*,yarn.lock
ignore-regex = \bsha512-[^"]*|ENV\["ROUGE"\]|\b(com\.google\.errorprone)\b|\bto(_not)? include .*versio"|https://\S*
# some modules, parts of regexes, and variable names to ignore
ignore-words-list = caf,bu,nwo,nd,kernal,crate,unparseable,couldn
# some modules, parts of regexes, and variable names to ignore, some
# misspellings in fixtures/external responses we do not own
ignore-words-list = caf,bu,nwo,nd,kernal,crate,unparseable,couldn,defintions
32 changes: 16 additions & 16 deletions common/spec/dependabot/metadata_finders/base/release_finder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end

Expand Down Expand Up @@ -198,8 +198,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end
end
Expand All @@ -213,8 +213,8 @@
expect(subject)
.to eq(
"## business-1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end
end
Expand Down Expand Up @@ -242,8 +242,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end
end
Expand Down Expand Up @@ -289,8 +289,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions\n" \
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions\n" \
"\n" \
"## v1.7.0\n" \
"No release notes provided.\n" \
Expand Down Expand Up @@ -341,8 +341,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions\n" \
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions\n" \
"\n" \
"## v1.7.0\n" \
"No release notes provided.\n" \
Expand Down Expand Up @@ -466,8 +466,8 @@
expect(subject)
.to eq(
"## v1.7.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end
end
Expand Down Expand Up @@ -520,8 +520,8 @@
expect(subject)
.to eq(
"## v1.8.0\n" \
"- Add 2018-2027 TARGET holiday definitions\n" \
"- Add 2018-2027 Bankgirot holiday definitions"
"- Add 2018-2027 TARGET holiday defintions\n" \
"- Add 2018-2027 Bankgirot holiday defintions"
)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def commits_details(base:, head:)
"<blockquote>\n" \
"<h2>1.7.0 - January 18, 2017</h2>\n" \
"<ul>\n" \
"<li>Add 2018-2027 BACS holiday definitions</li>\n" \
"<li>Add 2018-2027 BACS holiday defintions</li>\n" \
"</ul>\n" \
"</blockquote>\n" \
"</details>\n" \
Expand Down Expand Up @@ -2772,7 +2772,7 @@ def commits_details(base:, head:)
"<blockquote>\n" \
"<h2>1.7.0 - January 18, 2017</h2>\n" \
"<ul>\n" \
"<li>Add 2018-2027 BACS holiday definitions</li>\n" \
"<li>Add 2018-2027 BACS holiday defintions</li>\n" \
"</ul>\n" \
"</blockquote>\n" \
"</details>\n" \
Expand Down

0 comments on commit 5568c37

Please sign in to comment.