X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/af6f78f2ae408afebb375043930bbdd4c26599f5..7aa37ea0adf864baf3ef3dfbcfaf5ff1ff780250:/.pre-commit-hooks.yaml?ds=sidebyside diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index c575842..a1ff41f 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,9 +1,20 @@ +# Note that we recommend using https://github.com/psf/black-pre-commit-mirror instead +# This will work about 2x as fast as using the hooks in this repository - id: black name: black description: "Black: The uncompromising Python code formatter" entry: black language: python - language_version: python3 - minimum_pre_commit_version: 2.9.0 + minimum_pre_commit_version: 2.9.2 require_serial: true types_or: [python, pyi] +- id: black-jupyter + name: black-jupyter + description: + "Black: The uncompromising Python code formatter (with Jupyter Notebook support)" + entry: black + language: python + minimum_pre_commit_version: 2.9.2 + require_serial: true + types_or: [python, pyi, jupyter] + additional_dependencies: [".[jupyter]"]