X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a6d866990e52d511af7945f5c850fe75dcae65e5..96e62c57e3023977de177a8ba34678007a63f1fe:/.pre-commit-hooks.yaml?ds=sidebyside diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index c59213e..1379570 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,6 +3,16 @@ description: "Black: The uncompromising Python code formatter" entry: black language: python - language_version: python3 + minimum_pre_commit_version: 2.9.2 require_serial: true - types: [python] + 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]"]