Skip to content

Commit 27145bb

Browse files
committed
Upgrade codespell version and fix misspelled words
1 parent 4b645ae commit 27145bb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
hooks:
2323
- id: black
2424
- repo: https://github.com/codespell-project/codespell
25-
rev: v2.1.0
25+
rev: v2.2.1
2626
hooks:
2727
- id: codespell
2828
types_or: [python, rst, markdown]

pandas/core/resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ def quantile(self, q=0.5, **kwargs):
10451045
Return a DataFrame, where the columns are the columns of self,
10461046
and the values are the quantiles.
10471047
DataFrameGroupBy.quantile
1048-
Return a DataFrame, where the coulmns are groupby columns,
1048+
Return a DataFrame, where the columns are groupby columns,
10491049
and the values are its quantiles.
10501050
"""
10511051
return self._downsample("quantile", q=q, **kwargs)

pandas/io/formats/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def to_latex(
828828
``display_value`` with the default structure:
829829
``\<command><options> <display_value>``.
830830
Where there are multiple commands the latter is nested recursively, so that
831-
the above example highlighed cell is rendered as
831+
the above example highlighted cell is rendered as
832832
``\cellcolor{red} \bfseries 4``.
833833
834834
Occasionally this format does not suit the applied command, or

pandas/tests/arrays/categorical/test_constructors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def test_constructor_str_unknown(self):
450450
Categorical([1, 2], dtype="foo")
451451

452452
def test_constructor_np_strs(self):
453-
# GH#31499 Hastable.map_locations needs to work on np.str_ objects
453+
# GH#31499 Hashtable.map_locations needs to work on np.str_ objects
454454
cat = Categorical(["1", "0", "1"], [np.str_("0"), np.str_("1")])
455455
assert all(isinstance(x, np.str_) for x in cat.categories)
456456

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ exclude =
178178
doc/source/getting_started/comparison/includes/*.rst
179179

180180
[codespell]
181-
ignore-words-list = ba,blocs,coo,hist,nd,sav,ser
181+
ignore-words-list = ba,blocs,coo,hist,nd,sav,ser,bu,ro,recuse,fromm
182182
ignore-regex = https://([\w/\.])+
183183

184184
[coverage:run]

0 commit comments

Comments
 (0)