Skip to content

Commit

Permalink
v1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Aug 5, 2024
1 parent e7027c1 commit 0506549
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dispatch_pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runPreCommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: ${{github.event.client_payload.pull_request.head.repo.full_name}}
ref: ${{github.event.client_payload.pull_request.head.ref}}
token: ${{ secrets.ACTION_TRIGGER_TOKEN }}
- name: Cache multiple paths
uses: actions/cache@v2
uses: actions/cache@v4
env:
# Increase this value to reset cache if requirements.txt has not changed
CACHE_NUMBER: 0
Expand All @@ -25,7 +25,7 @@ jobs:
~/.cache/pre-commit
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: install-pre-commit
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8 # Same as RTD
- name: Cache multiple paths
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: docs
Expand All @@ -29,7 +29,7 @@ jobs:
run: tox -e ${{ matrix.tox-env-name }}
- name: Upload docs artifact
if: ${{ matrix.tox-env-name }} == "docs"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: nbqa-docs
path: docs/_build/html
8 changes: 4 additions & 4 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -42,7 +42,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -63,12 +63,12 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
uses: sigstore/gh-action-sigstore-python@v3.0.0
with:
inputs: >-
./dist/*.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache multiple paths
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Here's an example of how to set up some pre-commit hooks: put this in your `.pre

```yaml
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.6
rev: 1.8.7
hooks:
- id: nbqa-black
additional_dependencies: [jupytext] # optional, only if you're using Jupytext
Expand Down
2 changes: 1 addition & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Changelog
=========

1.8.6 (2024-08-05)
1.8.7 (2024-08-05)
~~~~~~~~~~~~~~~~~~
Ruff/pylint compat.

Expand Down
6 changes: 3 additions & 3 deletions docs/pre-commit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here's an example of what you could include in your ``.pre-commit-config.yaml``
repos:
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.6
rev: 1.8.7
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
Expand All @@ -35,7 +35,7 @@ If you have your own custom tool (e.g. ``customtool``) for which we currently do
.. code-block:: yaml
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.6
rev: 1.8.7
hooks:
- id: nbqa
entry: nbqa customtool
Expand All @@ -55,7 +55,7 @@ To pass command line arguments, use the `pre-commit args <https://pre-commit.com
repos:
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.6
rev: 1.8.7
hooks:
- id: nbqa-pyupgrade
args: [--py38-plus]
Expand Down
2 changes: 1 addition & 1 deletion nbqa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Attributes used by docs / packaging."""

__version__ = "1.8.6"
__version__ = "1.8.7"

0 comments on commit 0506549

Please sign in to comment.