From cc58311de20e68380e7fb8b223887d53cc891c31 Mon Sep 17 00:00:00 2001 From: Corentin Cadiou Date: Thu, 20 May 2021 10:30:55 +0100 Subject: [PATCH] Use nbQA instead --- .pre-commit-config.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f6c77fb036..7c891548de7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,7 +59,14 @@ repos: rev: v1.8.0 hooks: - id: rst-backticks -- repo: https://github.com/dfm/black_nbconvert - rev: v0.2.0 - hooks: - - id: black_nbconvert +- repo: https://github.com/nbQA-dev/nbQA + rev: 0.8.1 + hooks: + - id: nbqa-black + args: [--nbqa-mutate] + - id: nbqa-pyupgrade + args: [--nbqa-mutate, --py36-plus] + - id: nbqa-isort + args: [--nbqa-mutate] + - id: nbqa-flake8 + args: []