Skip to content

⬆️ UPGRADE: Autoupdate pre-commit config #42151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Base PullRequest

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

Command results

Details:
add path
/home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
pip install pre-commit
Collecting pre-commit
  Downloading pre_commit-2.13.0-py2.py3-none-any.whl (190 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting identify>=1.0.0
  Downloading identify-2.2.10-py2.py3-none-any.whl (98 kB)
Collecting pyyaml>=5.1
  Using cached PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting nodeenv>=0.11.1
  Using cached nodeenv-1.6.0-py2.py3-none-any.whl (21 kB)
Collecting virtualenv>=20.0.8
  Downloading virtualenv-20.4.7-py2.py3-none-any.whl (7.2 MB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.3.0-py2.py3-none-any.whl (7.3 kB)
Collecting filelock<4,>=3.0.0
  Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting appdirs<2,>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting six<2,>=1.9.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.2-py2.py3-none-any.whl (338 kB)
Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
Successfully installed appdirs-1.4.4 cfgv-3.3.0 distlib-0.3.2 filelock-3.0.12 identify-2.2.10 nodeenv-1.6.0 pre-commit-2.13.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 virtualenv-20.4.7
pre-commit autoupdate || (exit 0);
Updating 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.5b2 -> 21.6b0.
Updating https://github.com/codespell-project/codespell ... [INFO] Initializing environment for https://github.com/codespell-project/codespell.
updating v2.0.0 -> v2.1.0.
Updating 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 ... already up to date.
Updating https://github.com/PyCQA/isort ... [INFO] Initializing environment for https://github.com/PyCQA/isort.
updating 5.8.0 -> 5.9.0.
Updating https://github.com/asottile/pyupgrade ... [INFO] Initializing environment for https://github.com/asottile/pyupgrade.
updating v2.18.3 -> v2.19.4.
Updating https://github.com/pre-commit/pygrep-hooks ... [INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks.
updating v1.8.0 -> v1.9.0.
Updating https://github.com/asottile/yesqa ... already up to date.
pre-commit run -a || (exit 0);
[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/cpplint/cpplint.
[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...
absolufy-imports...............................................................................Passed
black..........................................................................................Passed
codespell......................................................................................Failed
- hook id: codespell
- exit code: 65

pandas/core/missing.py:401: covert ==> convert

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......................................................................................Failed
- hook id: pyupgrade
- exit code: 1
- files were modified by this hook

Rewriting pandas/core/arrays/sparse/scipy_sparse.py
Rewriting pandas/tests/frame/test_arithmetic.py
Rewriting pandas/tests/indexing/test_categorical.py
Rewriting pandas/core/reshape/melt.py
Rewriting pandas/core/arrays/sparse/array.py
Rewriting pandas/io/sql.py
Rewriting pandas/tests/frame/methods/test_describe.py
Rewriting pandas/io/formats/format.py

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
flake8-rst.....................................................................................Passed
Unwanted patterns..............................................................................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

Changed files

Changed 9 files:
  • .pre-commit-config.yaml
  • pandas/core/arrays/sparse/array.py
  • pandas/core/arrays/sparse/scipy_sparse.py
  • pandas/core/reshape/melt.py
  • pandas/io/formats/format.py
  • pandas/io/sql.py
  • pandas/tests/frame/methods/test_describe.py
  • pandas/tests/frame/test_arithmetic.py
  • pandas/tests/indexing/test_categorical.py

:octocat: Repo | 📝 Issues | 🏬 Marketplace

@lithomas1 lithomas1 added the Code Style Code style, linting, code_checks label Jun 21, 2021
@lithomas1 lithomas1 added this to the 1.4 milestone Jun 21, 2021
@MarcoGorelli MarcoGorelli merged commit 9f6a91a into master Jun 22, 2021
@MarcoGorelli MarcoGorelli deleted the create-pr-action/pre-commit-config-update-0 branch June 22, 2021 15:15
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
* ⬆️ UPGRADE: Autoupdate pre-commit config

* fixup new codespell error

Co-authored-by: jreback <[email protected]>
Co-authored-by: MarcoGorelli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants