Skip to content

Commit

Permalink
chore: move to using Ruff formatter
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Oct 26, 2023
1 parent 41e1eff commit 12b14f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion notebooks/HistLogo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
],
"source": [
"h2 = h[::10j, ::10j]\n",
"h2.plot();"
"h2.plot()"
]
},
{
Expand Down

0 comments on commit 12b14f2

Please sign in to comment.