Skip to content

Commit

Permalink
v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Apr 2, 2023
1 parent c9c1578 commit 9d21f1f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
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.6.4
rev: 1.7.0
hooks:
- id: nbqa-black
additional_dependencies: [jupytext] # optional, only if you're using Jupytext
Expand Down
8 changes: 8 additions & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
Changelog
=========

1.7.0 (2023-04-02)
~~~~~~~~~~~~~~~~~~
Added ``autopep8`` as runtime dependency. This is used
to do some preprocessing on the notebooks before running the
given tool them, thus solving a historic bug in which users
would get errors to do with cell separators (which they couldn't
do anything about). Thanks @felix-cw for the report!

1.6.4 (2023-03-19)
~~~~~~~~~~~~~~~~~~
Removed usage of (deprecated) ``pkg_resources``.
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.6.4
rev: 1.7.0
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.6.4
rev: 1.7.0
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.6.4
rev: 1.7.0
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.6.4"
__version__ = "1.7.0"

0 comments on commit 9d21f1f

Please sign in to comment.