Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 21, 2021
1 parent 0fc3679 commit f3e5dbc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,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.2.0
rev: 1.2.1
hooks:
- id: nbqa-black
- id: nbqa-pyupgrade
Expand Down
6 changes: 6 additions & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

1.2.1 (2021-11-21)
~~~~~~~~~~~~~~~~~~
Fixed bug whereby ``blacken-docs`` would need to be run as ``nbqa blacken_docs``,
because the package name and the Python module of ``blacken-docs`` differ.
Now, it can be run as ``nbqa blacken-docs``, as users would expect.

1.2.0 (2021-11-20)
~~~~~~~~~~~~~~~~~~
Added support for formatting markdown cells via the ``--nbqa-md`` flag.
Expand Down
4 changes: 2 additions & 2 deletions docs/pre-commit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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.2.0
rev: 1.2.1
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
Expand All @@ -31,7 +31,7 @@ Custom hooks
If you have your own custom tool (e.g. ``customtool``) for which we currently don't have a built-in hook, you can define your own one with: ::

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.2.0
rev: 1.2.1
hooks:
- id: nbqa
entry: nbqa customtool
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.2.0"
__version__ = "1.2.1"

0 comments on commit f3e5dbc

Please sign in to comment.