Skip to content

[Style]Fix typos errors in pre-commit and _typos.toml #1053

@HeartLinked

Description

@HeartLinked

Have you checked the documentation for submitting an Issue?

  • Yes.

What type of enhancement is this?

Style

What does the enhancement do?

The main RobustMQ repository uses pre-commit for code pre-commit by default, so you need to install a specified version of the pre-commit tool. For more information about pre-commit, refer to the official documentation and https://robustmq.com/zh/ContributionGuide/ContributingCode/Build-Develop-Env.html.

While using pre-commit, you will find some error when submit a commit:
Image
Also, you can find some ignored spelling errors in _typos.toml. So in this issue, you need to fix all of the spelling errors, includes "typ" (maybe the correct name is type? I'm not sure, you need to check it.)and "subscrible" and so on.

After your modification, it is expected to pass all pre-commit check and clear all the [default.extend-words] (exclude Identifer = "Identifer" maybe? )in
_typos.toml.

Implementation challenges

learn how to use pre-commit.

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the RobustMQ community to improve.
  • No. I cannot submit a PR at this time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions