Skip to content

Fix Misspellings #42

Description

@O957

This issue covers fixing misspellings across the codebase.

These misspellings I detected via the typos hook (https://github.com/crate-ci/typos) which can be used in concert with pre-commit (https://github.com/pre-commit/pre-commit) via .pre-commit-config.yaml and _typos.toml configuration files.

I dropped these two files into the repository and ran then via pre-commit install and then pre-commit run --all-files to find the misspellings and any false positives.

I am prepared to make a PR fixing the following misspellings but need to know if there are any file types that shouldn't be touched (e.g. "only fix .py files"), regardless of whether they contain misspellings.

I can start with all non-breaking fixes if desired.

Background: I think this is a cool repo. + I like when words are spelled correctly + I am interested in using / contributing to it.

Some examples:

Image Image
File Contents For Tools Used

.pre-commit-config.yaml

repos:
-   repo: https://github.com/crate-ci/typos
    rev: v1
    hooks:
    -   id: typos
        args: ["--force-exclude"]

_typos.toml

[default.extend-words]
# false positives
aer = "aer"
kinf = "kinf"

[files]
extend-exclude = [
    ".gitignore",
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions