Skip to content

STYLE: upgrade codespell #48349

Closed
Closed
@MarcoGorelli

Description

@MarcoGorelli

Task here is:

  • in
    - repo: https://github.com/codespell-project/codespell
    rev: v2.1.0
    hooks:
    - id: codespell
    types_or: [python, rst, markdown]
    , change the version to the latest available v2.2.1
  • run pre-commit run codespell --all-files. you should see something like
codespell...............................................................................................Failed
- hook id: codespell
- exit code: 65

pandas/tests/arrays/string_/test_string.py:185: bu ==> by
pandas/tests/config/test_config.py:19: ro ==> to, row, rob, rod, roe, rot
pandas/tests/config/test_config.py:36: ro ==> to, row, rob, rod, roe, rot
web/pandas/about/governance.md:186: recuse ==> recurse
pandas/io/parsers/python_parser.py:1275: fromm ==> from
pandas/io/parsers/python_parser.py:1275: fromm ==> from
pandas/tests/arrays/categorical/test_constructors.py:453: Hastable ==> Hashtable
pandas/core/resample.py:1048: coulmns ==> columns
pandas/io/formats/style.py:831: highlighed ==> highlighted
  • fixup these errors
  • check that pre-commit run codespell --all-files passes
  • open a PR

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions