X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/33601ffa6d27f2c54864d0f54d65c65846bf8647..c5b458ef4ba1b6a62685461c6731f1775bee132b:/.pre-commit-hooks.yaml?ds=sidebyside diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 0d43112..1379570 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,18 @@ -- id: black - name: black - description: 'Black: The uncompromising Python code formatter' - entry: black - language: python - language_version: python3 - types: [python] +- id: black + name: black + description: "Black: The uncompromising Python code formatter" + entry: black + language: python + 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]"]