Skip to content

Commit

Permalink
Ignore PLR0913 lint error for notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
srmsoumya committed Jul 1, 2024
1 parent 95f216d commit 1594589
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ repos:
hooks:
- id: ruff # Run the linter
args: [ --fix ]
types_or: [ python, pyi, jupyter ]
types_or: [ python, pyi ]
- id: ruff # Run the linter for Jupyter notebooks with the PLR0913 rule ignored
args: [ --fix, --ignore=PLR0913 ]
types: [ jupyter ]
- id: ruff-format # Run the formatter
types_or: [ python, pyi, jupyter ]

Expand Down

0 comments on commit 1594589

Please sign in to comment.