Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed May 13, 2024
1 parent 157d120 commit 0156028
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ repos:
hooks:
- id: ruff
name: ruff
entry: ruff
args: ["--fix", "--show-source"]
files: "numpyro/.*|tests/.*"
entry: ruff check
args: ["--fix", "--output-format=full"]
files: "numpyro/.*|tests/.*|examples/*.py|notebooks/*.ipynb"
language: system

- id: ruff-format
name: ruff-format
entry: ruff format
language: system
files: "numpyro/.*|tests/.*|examples/*.py|notebooks/*.ipynb"

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down

0 comments on commit 0156028

Please sign in to comment.