diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f7a239d..063cf7f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,11 +16,6 @@ repos: rev: 24.3.0 hooks: - id: black - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - exclude: ^README\.md$ - repo: https://github.com/PyCQA/pylint rev: v3.1.0 hooks: @@ -42,12 +37,6 @@ repos: hooks: - id: pydocstyle files: ^nbqa/ - - repo: https://github.com/econchick/interrogate - rev: 1.5.0 - hooks: - - id: interrogate - args: [-v, --fail-under=100] - files: ^nbqa/ - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.9.0 hooks: diff --git a/README.md b/README.md index ab3fb2f1..05aa6895 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.4 + rev: 1.8.5 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 745450ee..fe0de686 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -2,6 +2,10 @@ Changelog ========= +1.8.5 (2024-03-26) +~~~~~~~~~~~~~~~~~~ +Update tests for ruff compat. + 1.8.4 (2024-03-07) ~~~~~~~~~~~~~~~~~~ Fixed "ruff format" regression. diff --git a/docs/pre-commit.rst b/docs/pre-commit.rst index b56ed9e9..33c38817 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.4 + rev: 1.8.5 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.4 + rev: 1.8.5 hooks: - id: nbqa entry: nbqa customtool @@ -55,7 +55,7 @@ To pass command line arguments, use the `pre-commit args