Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codespell #467

Merged
merged 1 commit into from
Sep 25, 2022
Merged
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
alo
als
ded
hart
hda
inflight
packages\'
ro
sie
te
uint