From 89063ab095605d144e314e692d870cb2e4054a2d Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Sun, 23 Oct 2022 23:57:01 +0100 Subject: [PATCH] Manually cherry-pick codespell changes from #1613. --- .codespellrc | 4 ++-- .github/workflows/ci.yml | 2 +- CONTRIBUTING.md | 2 +- pkg/cli/term/reader_unix.go | 2 +- website/blog/0.11-release-notes.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.codespellrc b/.codespellrc index 2d3597a9..f182c505 100644 --- a/.codespellrc +++ b/.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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cf0b756..e09ffd33 100644 --- a/.github/workflows/ci.yml +++ b/.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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f8ad10f..7ffe2843 100644 --- a/CONTRIBUTING.md +++ b/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. diff --git a/pkg/cli/term/reader_unix.go b/pkg/cli/term/reader_unix.go index 594edadd..afc66dcc 100644 --- a/pkg/cli/term/reader_unix.go +++ b/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 diff --git a/website/blog/0.11-release-notes.md b/website/blog/0.11-release-notes.md index 3c07e1c6..881c3a28 100644 --- a/website/blog/0.11-release-notes.md +++ b/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)).