Skip to content

Commit

Permalink
Use golangci-lint for codespell (#535)
Browse files Browse the repository at this point in the history
* Remove Python codespell check.
* Enable misspell golanci-lint linter.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ authored Jun 15, 2023
1 parent 1d6add5 commit 6d9dbc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ jobs:
steps:
- run: make test

codespell:
docker:
- image: circleci/python

steps:
- checkout
- run: sudo pip install codespell
- run: codespell --skip=".git,./vendor,ttar,fixtures.ttar,./fixtures,go.mod,go.sum" -I scripts/codespell_ignore.txt

workflows:
version: 2
procfs:
Expand All @@ -66,4 +57,3 @@ workflows:
go_version:
- "1.19"
- "1.20"
- codespell
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
linters:
enable:
- godot
- misspell
- revive

linter-settings:
Expand All @@ -10,3 +11,5 @@ linter-settings:
exclude:
# Ignore "See: URL"
- 'See:'
misspell:
locale: US
11 changes: 0 additions & 11 deletions scripts/codespell_ignore.txt

This file was deleted.

0 comments on commit 6d9dbc0

Please sign in to comment.