Skip to content

Commit fabf03a

Browse files
authored
upgrade pygrep (#37440)
1 parent d6f646b commit fabf03a

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

.pre-commit-config.yaml

+6-16
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ repos:
1515
- id: flake8
1616
name: flake8 (cython template)
1717
files: \.pxi\.in$
18-
types:
19-
- file
18+
types: [text]
2019
args: [--append-config=flake8/cython-template.cfg]
2120
- repo: https://github.com/PyCQA/isort
2221
rev: 5.6.3
@@ -32,9 +31,13 @@ repos:
3231
- id: pyupgrade
3332
args: [--py37-plus]
3433
- repo: https://github.com/pre-commit/pygrep-hooks
35-
rev: v1.6.0
34+
rev: v1.7.0
3635
hooks:
3736
- id: rst-backticks
37+
- id: rst-directive-colons
38+
types: [text]
39+
- id: rst-inline-touching-normal
40+
types: [text]
3841
- repo: local
3942
hooks:
4043
- id: pip_to_conda
@@ -53,19 +56,6 @@ repos:
5356
types: [rst]
5457
args: [--filename=*.rst]
5558
additional_dependencies: [flake8-rst==0.7.0, flake8==3.7.9]
56-
- id: incorrect-sphinx-directives
57-
name: Check for incorrect Sphinx directives
58-
language: pygrep
59-
entry: |
60-
(?x)
61-
# Check for cases of e.g. .. warning: instead of .. warning::
62-
\.\.\ (
63-
autosummary|contents|currentmodule|deprecated|
64-
function|image|important|include|ipython|literalinclude|
65-
math|module|note|raw|seealso|toctree|versionadded|
66-
versionchanged|warning
67-
):[^:]
68-
files: \.(py|pyx|rst)$
6959
- id: non-standard-imports
7060
name: Check for non-standard imports
7161
language: pygrep

doc/source/ecosystem.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Jupyter notebooks can be converted to a number of open standard output formats
201201
Python) through 'Download As' in the web interface and ``jupyter convert``
202202
in a shell.
203203

204-
pandas DataFrames implement ``_repr_html_``and ``_repr_latex`` methods
204+
pandas DataFrames implement ``_repr_html_`` and ``_repr_latex`` methods
205205
which are utilized by Jupyter Notebook for displaying
206206
(abbreviated) HTML or LaTeX tables. LaTeX output is properly escaped.
207207
(Note: HTML tables may or may not be

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3938,7 +3938,7 @@ def _values(self) -> Union[ExtensionArray, np.ndarray]:
39383938
39393939
This is an ndarray or ExtensionArray.
39403940
3941-
``_values`` are consistent between``Series`` and ``Index``.
3941+
``_values`` are consistent between ``Series`` and ``Index``.
39423942
39433943
It may differ from the public '.values' method.
39443944

0 commit comments

Comments
 (0)