From 45bb1a65a9a6c7095c35f6f198512ea6b1dcc06d Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Sun, 14 Jul 2024 17:30:00 -0700 Subject: [PATCH] Keep entries separate --- .pre-commit-config.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6e3e3c..84a4d12 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,14 +27,20 @@ repos: # Python formatting/linting -## Run the Ruff linter and formatter. +## Run the Ruff formatter. - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.5.2 hooks: - - id: ruff - 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.5.2 + hooks: + - id: ruff + exclude: "src/triton_cli/trt_llm/checkpoint_scripts|src/triton_cli/templates/trt_llm" + # Upgrade Python syntax - repo: https://github.com/asottile/pyupgrade rev: v3.15.0