Upgrade codespell to 2.0.0 in CI
Follow-up from #362 (closed). This issue is about upgrading our codespell CI job to codespell 2.0.0, and activating the usage
dictionary.
In #362 (closed) I already audited the places where this dictionary suggested changes:
README.md:88
doc/CPP_Style_Guide.md:37
- Can be changed to
HEAD
unless/until those particular projects rename themaster
branch
all other occurrences in README.md
; all in CONTRIBUTING.md
, doc/Environment.md
, doc/Logging.md
, doc/Home.md
, doc/Modules.md
, doc/Package/Specification.md
, tools/heapgraph.md
- Can be changed to
HEAD
for the time being, but after we rename themaster
branch tomain
, these can be changed tomain
subprojects/glib.wrap:6
subprojects/sysprof.wrap:6
subprojects/gobject-introspection.wrap:6
- Don't know if these can be changed to
HEAD
and still work. Otherwise will need to wait until GNOME renames all of itsmaster
branches tomain
test/test-ci.sh:26
- "origin/master" can be changed to "the main branch"
NEWS
- This is difficult, it can maybe be rewritten as "the main branch", or just deleted from some of the merge request description.
My plan was to rename GJS's master
branch to main
at the same time that the rest of GNOME does so, to avoid confusion and to ensure that we can use the redirects that would be put in place during a project-wide rename like that. It looks like we could make most of these changes before then, but might have to make the job ignore the .wrap
files; but someone could test if those still work when replaced with HEAD
.