X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f8e9544c930a1469bee8b3f131687e2cae52e59b..8900e3ac8a8f610d4c1b3fbe7bdf4f0358efc28d:/.pre-commit-hooks.yaml?ds=inline diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index e7b45ef..1379570 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,6 +1,18 @@ -- id: black - name: black - entry: black - language: python - language_version: python3.6 - 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]"]