Skip to content

⬆️ UPGRADE: Autoupdate pre-commit config #4334

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 1 commit into from
Dec 14, 2020

Conversation

twiecki
Copy link
Member

@twiecki twiecki commented Dec 14, 2020

Base PullRequest

default branch (https://github.com/pymc-devs/pymc3/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.9.3-py2.py3-none-any.whl (184 kB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.2.0-py2.py3-none-any.whl (7.3 kB)
Collecting identify>=1.0.0
  Downloading identify-1.5.10-py2.py3-none-any.whl (97 kB)
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.5.0-py2.py3-none-any.whl (21 kB)
Collecting pyyaml>=5.1
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting virtualenv>=20.0.8
  Downloading virtualenv-20.2.2-py2.py3-none-any.whl (5.7 MB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Using legacy 'setup.py install' for pyyaml, since package 'wheel' is not installed.
Installing collected packages: six, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
    Running setup.py install for pyyaml: started
    Running setup.py install for pyyaml: finished with status 'done'
Successfully installed appdirs-1.4.4 cfgv-3.2.0 distlib-0.3.1 filelock-3.0.12 identify-1.5.10 nodeenv-1.5.0 pre-commit-2.9.3 pyyaml-5.3.1 six-1.15.0 toml-0.10.2 virtualenv-20.2.2

stderr:

WARNING: You are using pip version 20.3; however, version 20.3.1 is available.
You should consider upgrading via the '/opt/hostedtoolcache/Python/3.9.0/x64/bin/python -m pip install --upgrade pip' command.
pre-commit autoupdate || (exit 0);
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/nbQA-dev/nbQA ... [INFO] Initializing environment for https://github.com/nbQA-dev/nbQA.
updating 0.5.4 -> 0.5.5.
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.
already up to date.
Updating https://github.com/psf/black ... [INFO] Initializing environment for https://github.com/psf/black.
already up to date.
Updating https://github.com/PyCQA/pylint ... [INFO] Initializing environment for https://github.com/PyCQA/pylint.
already up to date.
pre-commit run -a || (exit 0);
[INFO] Initializing environment for https://github.com/nbQA-dev/nbQA:black==20.8b1.
[INFO] Initializing environment for https://github.com/nbQA-dev/nbQA:isort==5.6.4.
[INFO] Initializing environment for https://github.com/nbQA-dev/nbQA:pyupgrade==2.7.4.
[INFO] Initializing environment for local.
[INFO] Initializing environment for local:pyyaml.
[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/nbQA-dev/nbQA.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/nbQA-dev/nbQA.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/nbQA-dev/nbQA.
[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/psf/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/pylint.
[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...
Check for merge conflicts......................................................................Passed
Check Toml.....................................................................................Passed
Check Yaml.....................................................................................Passed
Debug Statements (Python)......................................................................Passed
Fix End of Files...............................................................................Passed
Don't commit to branch.........................................................................Passed
Fix requirements.txt...........................................................................Passed
Trim Trailing Whitespace.......................................................................Passed
nbqa-black.....................................................................................Passed
nbqa-isort.....................................................................................Passed
nbqa-pyupgrade.................................................................................Passed
isort..........................................................................................Passed
pyupgrade......................................................................................Passed
black..........................................................................................Passed
pylint.........................................................................................Passed
Check notebooks have watermark (see Jupyter style guide from PyMC3 Uncyclo).......................Passed
Check all notebooks appear in table of contents................................................Passed
Check no tests are ignored.....................................................................Passed
Sort dependencies in conda envs................................................................Passed
Generate pip dependency from conda.............................................................Passed
No relative imports............................................................................Passed

Changed files

Changed file:
  • .pre-commit-config.yaml

:octocat: Repo | 📝 Issues | 🏬 Marketplace

@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #4334 (a4b22d3) into master (b386d94) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4334   +/-   ##
=======================================
  Coverage   87.67%   87.68%           
=======================================
  Files          88       88           
  Lines       14240    14240           
=======================================
+ Hits        12485    12486    +1     
+ Misses       1755     1754    -1     
Impacted Files Coverage Δ
pymc3/distributions/distribution.py 95.28% <0.00%> (+0.24%) ⬆️

@MarcoGorelli
Copy link
Contributor

@twiecki looks like this has worked! Are you OK with it putting you as the author or should I change it so the author is 'github bot' or something like that?

@twiecki
Copy link
Member Author

twiecki commented Dec 14, 2020

@MarcoGorelli Anything to boost my stats ;). I'm fine to leave it if it doesn't create confusion. Otherwise this looks super handy.

@twiecki twiecki merged commit f778046 into master Dec 14, 2020
@twiecki twiecki deleted the create-pr-action/pre-commit-config-update-0 branch December 14, 2020 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants