diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea23d182..ca5f6b42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,16 +3,11 @@ ci: autofix_commit_msg: "style: pre-commit fixes" repos: -- repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.10.0 - hooks: - - id: black-jupyter - - repo: https://github.com/adamchainz/blacken-docs rev: "1.16.0" hooks: - id: blacken-docs - additional_dependencies: [black==23.7.0] + additional_dependencies: [black==23.*] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 @@ -34,6 +29,8 @@ repos: - id: ruff args: ["--fix", "--show-fixes"] types_or: [python, pyi, jupyter] + - id: ruff-format + types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.6.1 diff --git a/notebooks/HistLogo.ipynb b/notebooks/HistLogo.ipynb index 487c970e..76e93a81 100644 --- a/notebooks/HistLogo.ipynb +++ b/notebooks/HistLogo.ipynb @@ -114,7 +114,7 @@ ], "source": [ "h2 = h[::10j, ::10j]\n", - "h2.plot();" + "h2.plot()" ] }, {