Browse Source

Manually cherry-pick codespell changes from #1613.

Qi Xiao 1 year ago
parent
commit
89063ab095
5 changed files with 6 additions and 6 deletions
  1. 2 2
      .codespellrc
  2. 1 1
      .github/workflows/ci.yml
  3. 1 1
      CONTRIBUTING.md
  4. 1 1
      pkg/cli/term/reader_unix.go
  5. 1 1
      website/blog/0.11-release-notes.md

+ 2 - 2
.codespellrc

@@ -1,3 +1,3 @@
 [codespell]
-ignore-words-list = upto,nd,ba,doas,fo,struc,shouldbe,iterm,lates,testof
-skip = ./vscode/node_modules,./vscode/dist
+ignore-words-list = ro,upto,nd,doas,fo,shouldbe,iterm,lates,testof
+skip = ./.git,./vscode/node_modules,./vscode/dist,./website/_dst,./website/*.html

+ 1 - 1
.github/workflows/ci.yml

@@ -143,7 +143,7 @@ jobs:
     - name: Set up Python
       uses: actions/setup-python@v2
     - name: Install codespell
-      run: pip install codespell==2.1.0
+      run: pip install codespell==2.2.1
     - name: Run codespell
       run: codespell
 

+ 1 - 1
CONTRIBUTING.md

@@ -184,7 +184,7 @@ Install [codespell](https://github.com/codespell-project/codespell) to check
 spelling:
 
 ```sh
-pip install --user codespell==2.1.0
+pip install --user codespell==2.2.1
 ```
 
 Use `make codespell` to run it.

+ 1 - 1
pkg/cli/term/reader_unix.go

@@ -278,7 +278,7 @@ var g3Seq = map[rune]ui.Key{
 // expressible using the escape sequences described below.
 
 // CSI-style key sequences identified by the last rune. For instance, \e[A is
-// Up. When modified, two numerical arguments are added, the first always beging
+// Up. When modified, two numerical arguments are added, the first always being
 // 1 and the second identifying the modifier. For instance, \e[1;5A is Ctrl-Up.
 var csiSeqByLast = map[rune]ui.Key{
 	// xterm, urxvt, tmux

+ 1 - 1
website/blog/0.11-release-notes.md

@@ -130,7 +130,7 @@ As usual, prebuilt binaries can be found in [get](../get/).
 -   Elvish now handles SIGHUP by relaying it to the entire process group
     ([#494](https://github.com/elves/elvish/issues/494)).
 
--   The daemon now detects the path of the Elvish executable more reliabily,
+-   The daemon now detects the path of the Elvish executable more reliably,
     notably when Elvish is used as login shell
     ([#496](https://github.com/elves/elvish/issues/496)).