Skip to content

Commit

Permalink
Update codespell
Browse files Browse the repository at this point in the history
Switch to ignore file, update with new ignores.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ authored and discordianfish committed Sep 25, 2022
1 parent 254423d commit f5d82fa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- checkout
- run: sudo pip install codespell
- run: codespell --skip=".git,./vendor,ttar,fixtures.ttar,./fixtures,go.mod,go.sum" -L uint,packages\',ded,alo,als,te,sie,hart,hda
- run: codespell --skip=".git,./vendor,ttar,fixtures.ttar,./fixtures,go.mod,go.sum" -I scripts/codespell_ignore.txt

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion proc_psi_test.go
Expand Up @@ -110,7 +110,7 @@ func TestPSIStats(t *testing.T) {
// TestParsePSIStats tests the edge cases that we won't run into when running TestPSIStats.
func TestParsePSIStats(t *testing.T) {
t.Run("unknown measurement type", func(t *testing.T) {
raw := "nonesense haha test=fake"
raw := "nonsense haha test=fake"
_, err := parsePSIStats("fake", strings.NewReader(raw))
if err != nil {
t.Error("unknown measurement type must be ignored")
Expand Down
11 changes: 11 additions & 0 deletions scripts/codespell_ignore.txt
@@ -0,0 +1,11 @@
alo
als
ded
hart
hda
inflight
packages\'
ro
sie
te
uint

0 comments on commit f5d82fa

Please sign in to comment.