Skip to content

Commit

Permalink
Merge pull request hyperspy#3300 from ericpre/ruff_format
Browse files Browse the repository at this point in the history
Add ruff format to format code
  • Loading branch information
ericpre authored Jan 19, 2024
2 parents 01270a8 + eb5ba4e commit b104055
Show file tree
Hide file tree
Showing 269 changed files with 13,312 additions and 10,744 deletions.
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Run ruff format
922f3594ab343a49cbab22073fa79f073932e13d
8f05320b5419a482ac485f352f352ac4504d08f0
614ccb9895f8e2aaa9a722712944b9eafa227c8c
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: ruff
args: [ --fix ]
# Run the formatter.
#- id: ruff-format
- id: ruff-format
ci:
# Don't run automatically on PRs, instead add the comment
# "pre-commit.ci autofix" on a pull request to manually trigger auto-fixing
Expand Down
Loading

0 comments on commit b104055

Please sign in to comment.