Skip to content

Commit

Permalink
fix changes as per review added to pre-commit-config.yaml "--show-fix…
Browse files Browse the repository at this point in the history
…es" and some ruff.toml changes
  • Loading branch information
Rjchauhan18 committed Oct 31, 2023
1 parent c790033 commit c0f7ead
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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:
rev: "v0.1.3"
hooks:
- id: ruff
args: [--fix, --ignore=E741, --exclude=__init__.py]
args: [--fix, --show-fixes]

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.16.0"
Expand Down
4 changes: 4 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
extend-include = ["*.ipynb"]
extend-exclude = ["__init__.py"]

[lint]
ignore = ["E741"]

[lint.per-file-ignores]
"**.ipynb" = ["E402", "E703"]

0 comments on commit c0f7ead

Please sign in to comment.