Skip to content

Commit

Permalink
Added support for ruff update (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anu-Ra-g authored Aug 26, 2024
1 parent 2f04a7a commit 48dac35
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,24 @@
additional_dependencies: [pydocstyle]
- id: nbqa-ruff
name: nbqa-ruff
description: Run 'ruff' on a Jupyter Notebook
entry: nbqa ruff
description: Run 'ruff check' on a Jupyter Notebook # for backwards compatiblity
entry: nbqa "ruff check"
language: python
additional_dependencies: [ruff]
require_serial: true
types_or: [jupyter, markdown]
- id: nbqa-ruff-check
name: nbqa-ruff-check
description: Run 'ruff check' on a Jupyter Notebook
entry: nbqa "ruff check"
language: python
additional_dependencies: [ruff]
require_serial: true
types_or: [jupyter, markdown]
- id: nbqa-ruff-format
name: nbqa-ruff-format
description: Run 'ruff format' on a Jupyter Notebook
entry: nbqa "ruff format"
language: python
additional_dependencies: [ruff]
require_serial: true
Expand Down

0 comments on commit 48dac35

Please sign in to comment.