Skip to content

Commit

Permalink
Update pre-commit to latest ruff version
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccorm4 committed Jul 15, 2024
1 parent 0bc1c3d commit 214a465
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,12 @@
repos:

# Python formatting/linting
## Run the Ruff formatter.
## Run the Ruff linter and formatter.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3
hooks:
- id: ruff-format
exclude: "src/triton_cli/trt_llm/checkpoint_scripts|src/triton_cli/templates/trt_llm"

## Run the Ruff linter.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3
rev: v0.5.2
hooks:
- id: ruff
- id: ruff-format
exclude: "src/triton_cli/trt_llm/checkpoint_scripts|src/triton_cli/templates/trt_llm"

# Upgrade Python syntax
Expand Down

0 comments on commit 214a465

Please sign in to comment.