This commit is contained in:
Yaroslav Halchenko 2026-04-21 00:04:51 +00:00 committed by GitHub
commit 2d8dcc4f1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 37 additions and 5 deletions

7
.codespellrc Normal file
View file

@ -0,0 +1,7 @@
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = .git*,*.svg,go.sum,.codespellrc,vendor,i18n,Keybindings_*.md
check-hidden = true
# camel-cased
ignore-regex = (\b[A-Za-z][a-z]*[A-Z]\S+\b|\.edn\b|\S+…|\\nd\b)
ignore-words-list = fomrat,inbetween

25
.github/workflows/codespell.yml vendored Normal file
View file

@ -0,0 +1,25 @@
# Codespell configuration is within .codespellrc
---
name: Codespell
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Annotate locations with typos
uses: codespell-project/codespell-problem-matcher@v1
- name: Codespell
uses: codespell-project/actions-codespell@v2

View file

@ -81,7 +81,7 @@ brews:
# 386: x86 # 386: x86
# amd64: x86_64 # amd64: x86_64
# #
# # Wether to publish the snap to the snapcraft store. # # Whether to publish the snap to the snapcraft store.
# # Remember you need to `snapcraft login` first. # # Remember you need to `snapcraft login` first.
# # Defaults to false. # # Defaults to false.
# publish: false # publish: false

View file

@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression, size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal level of experience, education, socioeconomic status, nationality, personal
appearance, race, religion, or sexual identity and orientation. appearance, race, religion, or sexual identity and orientation.
## Our Standards ## Our Standards

View file

@ -28,7 +28,7 @@ func (gui *Gui) getMenuPanel() *panels.SideListPanel[*types.MenuItem] {
return gui.resizePopupPanel(gui.Views.Menu) return gui.resizePopupPanel(gui.Views.Menu)
}, },
// so that we can avoid some UI trickiness, the menu will not have filtering // so that we can avoid some UI trickiness, the menu will not have filtering
// abillity yet. To support it, we would need to have filter state against // ability yet. To support it, we would need to have filter state against
// each panel (e.g. for when you filter the images panel, then bring up // each panel (e.g. for when you filter the images panel, then bring up
// the options menu, then try to filter that too. // the options menu, then try to filter that too.
DisableFilter: true, DisableFilter: true,

View file

@ -133,7 +133,7 @@ func (t *TaskManager) NewTickerTask(duration time.Duration, before func(ctx cont
t.Log.Info("exiting ticker task due to notifyStopped channel") t.Log.Info("exiting ticker task due to notifyStopped channel")
return return
case <-ctx.Done(): case <-ctx.Done():
t.Log.Info("exiting ticker task due to stopped cahnnel") t.Log.Info("exiting ticker task due to stopped channel")
return return
case <-tickChan.C: case <-tickChan.C:
t.Log.Info("running ticker task again") t.Log.Info("running ticker task again")