⬆️ UPGRADE: Autoupdate pre-commit config
<!-- START pr-commits -->
<!-- END pr-commits -->

## Base PullRequest

default branch (https://github.com/pandas-dev/pandas/tree/master)

## Command results
<details>
<summary>Details: </summary>

<details>
<summary><em>add path</em></summary>

```Shell
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
```



</details>
<details>
<summary><em>pip install pre-commit</em></summary>

```Shell
Collecting pre-commit
  Downloading pre_commit-2.15.0-py2.py3-none-any.whl (191 kB)
Collecting pyyaml>=5.1
  Downloading PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.3.1-py2.py3-none-any.whl (7.3 kB)
Collecting identify>=1.0.0
  Downloading identify-2.2.15-py2.py3-none-any.whl (98 kB)
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting virtualenv>=20.0.8
  Downloading virtualenv-20.8.1-py2.py3-none-any.whl (5.3 MB)
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.6.0-py2.py3-none-any.whl (21 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting platformdirs<3,>=2
  Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.2.0-py2.py3-none-any.whl (10 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Downloading backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl (6.2 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Installing collected packages: six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
Successfully installed backports.entry-points-selectable-1.1.0 cfgv-3.3.1 distlib-0.3.3 filelock-3.2.0 identify-2.2.15 nodeenv-1.6.0 platformdirs-2.4.0 pre-commit-2.15.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 virtualenv-20.8.1
```



</details>
<details>
<summary><em>pre-commit autoupdate || (exit 0);</em></summary>

```Shell
Updating https://github.com/MarcoGorelli/absolufy-imports ... [INFO] Initializing environment for https://github.com/MarcoGorelli/absolufy-imports.
already up to date.
Updating https://github.com/python/black ... [INFO] Initializing environment for https://github.com/python/black.
updating 21.8b0 -> 21.9b0.
Updating https://github.com/codespell-project/codespell ... [INFO] Initializing environment for https://github.com/codespell-project/codespell.
already up to date.
Updating https://github.com/pre-commit/pre-commit-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
already up to date.
Updating https://github.com/cpplint/cpplint ... [INFO] Initializing environment for https://github.com/cpplint/cpplint.
already up to date.
Updating https://gitlab.com/pycqa/flake8 ... [INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
already up to date.
Updating https://github.com/PyCQA/isort ... [INFO] Initializing environment for https://github.com/PyCQA/isort.
already up to date.
Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade.
updating v2.25.0 -> v2.29.0.
Updating https://github.com/pre-commit/pygrep-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks.
already up to date.
Updating https://github.com/asottile/yesqa ... [INFO] Initializing environment for https://github.com/asottile/yesqa.
already up to date.
```



</details>
<details>
<summary><em>pre-commit run -a || (exit 0);</em></summary>

```Shell
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8:flake8-bugbear==21.3.2,flake8-comprehensions==3.1.0,pandas-dev-flaker==0.2.0.
[INFO] Initializing environment for https://github.com/asottile/yesqa:flake8-bugbear==21.3.2,flake8-comprehensions==3.1.0,flake8==3.9.2,pandas-dev-flaker==0.2.0.
[INFO] Initializing environment for local:pyright@1.1.171.
[INFO] Initializing environment for local:flake8-rst==0.7.0,flake8==3.7.9.
[INFO] Initializing environment for local:pyyaml,toml.
[INFO] Initializing environment for local:pyyaml.
[INFO] Initializing environment for local.
[INFO] Installing environment for https://github.com/MarcoGorelli/absolufy-imports.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/python/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/cpplint/cpplint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
absolufy-imports................................................................................................Passed
black...........................................................................................................Passed
codespell.......................................................................................................Passed
Debug Statements (Python).......................................................................................Passed
Fix End of Files................................................................................................Passed
Trim Trailing Whitespace........................................................................................Passed
cpplint.........................................................................................................Passed
flake8..........................................................................................................Passed
flake8 (cython).................................................................................................Passed
flake8 (cython template)........................................................................................Passed
isort...........................................................................................................Passed
pyupgrade.......................................................................................................Passed
rst ``code`` is two backticks...................................................................................Passed
rst directives end with two colons..............................................................................Passed
rst ``inline code`` next to normal text.........................................................................Passed
Strip unnecessary `# noqa`s.....................................................................................Passed
pyright.........................................................................................................Failed
- hook id: pyright
- exit code: 1

No configuration file found.
pyproject.toml file found at /home/runner/work/pandas/pandas.
Loading pyproject.toml file at /home/runner/work/pandas/pandas/pyproject.toml
Assuming Python platform Linux
stubPath /home/runner/work/pandas/pandas/typings is not a valid directory.
Searching for source files
Found 307 source files
/home/runner/work/pandas/pandas/pandas/core/base.py
  /home/runner/work/pandas/pandas/pandas/core/base.py:1251:9 - error: Overload 2 for "searchsorted" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/common.py
  /home/runner/work/pandas/pandas/pandas/core/common.py:398:5 - error: Overload 2 for "random_state" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/frame.py
  /home/runner/work/pandas/pandas/pandas/core/frame.py:1370:9 - error: Overload 1 for "dot" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/array_algos/take.py
  /home/runner/work/pandas/pandas/pandas/core/array_algos/take.py:44:5 - error: Overload 2 for "take_nd" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/_mixins.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/_mixins.py:216:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/base.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/base.py:309:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/base.py:539:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/base.py:543:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/boolean.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/boolean.py:421:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/boolean.py:425:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/categorical.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/categorical.py:498:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/categorical.py:502:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/categorical.py:2031:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/datetimelike.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/datetimelike.py:324:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/datetimelike.py:320:9 - error: Overload 1 for "__getitem__" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/floating.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/floating.py:286:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/floating.py:290:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/integer.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/integer.py:348:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/integer.py:352:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/interval.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/interval.py:649:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/interval.py:645:9 - error: Overload 1 for "__getitem__" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/masked.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/masked.py:152:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/masked.py:323:9 - error: Overload 2 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/masked.py:327:9 - error: Overload 3 for "astype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/string_arrow.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/string_arrow.py:275:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/arrays/string_arrow.py:271:9 - error: Overload 1 for "__getitem__" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/arrays/sparse/array.py
  /home/runner/work/pandas/pandas/pandas/core/arrays/sparse/array.py:867:9 - error: Overload 2 for "__getitem__" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/dtypes/cast.py
  /home/runner/work/pandas/pandas/pandas/core/dtypes/cast.py:448:5 - error: Overload 2 for "ensure_dtype_can_hold_na" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
  /home/runner/work/pandas/pandas/pandas/core/dtypes/cast.py:1068:5 - error: Overload 2 for "astype_nansafe" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/groupby/ops.py
  /home/runner/work/pandas/pandas/pandas/core/groupby/ops.py:282:9 - error: Overload 2 for "_get_result_dtype" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
/home/runner/work/pandas/pandas/pandas/core/tools/datetimes.py
  /home/runner/work/pandas/pandas/pandas/core/tools/datetimes.py:626:5 - error: Overload 1 for "to_datetime" overlaps overload 3 and returns an incompatible type (reportOverlappingOverload)
31 errors, 0 warnings, 0 infos 
Completed in 27.79sec

flake8-rst......................................................................................................Passed
Unwanted patterns...............................................................................................Passed
Check Cython casting is `<type>obj`, not `<type> obj`...........................................................Passed
Check for backticks incorrectly rendering because of missing spaces.............................................Passed
Check for unnecessary random seeds in asv benchmarks............................................................Passed
Check for invalid EA testing....................................................................................Passed
Generate pip dependency from conda..............................................................................Passed
Check flake8 version is synced across flake8, yesqa, and environment.yml........................................Passed
Validate correct capitalization among titles in documentation...................................................Passed
Import pandas.array as pd_array in core.........................................................................Passed
Use bool_t instead of bool in pandas/core/generic.py............................................................Passed
Ensure pandas errors are documented in doc/source/reference/general_utility_functions.rst.......................Passed
```



</details>

</details>

## Changed files
<details>
<summary>Changed file: </summary>

- .pre-commit-config.yaml

</details>

<hr>

[:octocat: Repo](https://github.com/technote-space/create-pr-action) | [:memo: Issues](https://github.com/technote-space/create-pr-action/issues) | [:department_store: Marketplace](https://github.com/marketplace/actions/create-pr-action)