Skip to content

Commit

Permalink
v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 26, 2022
1 parent b86d0b3 commit d93706c
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 @@ -140,7 +140,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.5.3
rev: 1.6.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.6.0 (2022-12-26)
~~~~~~~~~~~~~~~~~~
Fixed bug(?) whereby running ``black`` was resulting in
``UnicodeDecodeError`` on Windows. I couldn't reproduce this locally
on Windows, and nobody reported it, but it did fail CI, so better to
have fixed it.
Added support for ``ruff`` (thanks @marscher !)

1.5.3 (2022-10-20)
~~~~~~~~~~~~~~~~~~
Fixed bug when running ``isort --float-to-top`` and it was
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.5.3
rev: 1.6.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.5.3
rev: 1.6.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.5.3
rev: 1.6.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.5.3"
__version__ = "1.6.0"

0 comments on commit d93706c

Please sign in to comment.