From 1d551818464148d29c4ada8ed9775a1c1cc7574f Mon Sep 17 00:00:00 2001 From: Marco Gorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:16:56 +0200 Subject: [PATCH] 1.9.0 --- README.md | 2 +- docs/history.rst | 5 +++++ docs/pre-commit.rst | 6 +++--- nbqa/__init__.py | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1c9d441d..929b0528 100644 --- a/README.md +++ b/README.md @@ -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.7 + rev: 1.9.0 hooks: - id: nbqa-black additional_dependencies: [jupytext] # optional, only if you're using Jupytext diff --git a/docs/history.rst b/docs/history.rst index 41677f3d..2a167cd4 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -2,6 +2,11 @@ Changelog ========= +1.9.0 (2024-08-27) +~~~~~~~~~~~~~~~~~~ +More ruff compat, introduced ``nbqa-ruff-check`` and ``nbqa-ruff-format`` +hooks. + 1.8.7 (2024-08-05) ~~~~~~~~~~~~~~~~~~ Ruff/pylint compat. diff --git a/docs/pre-commit.rst b/docs/pre-commit.rst index ec59a831..bce2e50e 100644 --- a/docs/pre-commit.rst +++ b/docs/pre-commit.rst @@ -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.7 + rev: 1.9.0 hooks: - id: nbqa-black additional_dependencies: [black==20.8b1] @@ -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.7 + rev: 1.9.0 hooks: - id: nbqa entry: nbqa customtool @@ -55,7 +55,7 @@ To pass command line arguments, use the `pre-commit args