From 9344ef925332d1fd0206ce9a059c9da149968e94 Mon Sep 17 00:00:00 2001 From: Boris Date: Mon, 29 Apr 2024 23:14:08 -0500 Subject: [PATCH] Setup ruff linter --- .github/workflows/lint.yml | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7bae70e9..7a826400 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: Pre-commit Hooks +.github/workflows/lint.ymlname: Ruff Linter on: [pull_request] @@ -20,7 +20,7 @@ jobs: run: pip install ruff - name: Run ruff format checker - run: ruff format --check + run: ruff format --check --config pyproject.toml - name: Run ruff format checker - run: ruff check \ No newline at end of file + run: ruff check --config pyproject.toml \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 69d5afec..f9d98098 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ -g[tool.black] +[tool.black] # don't format the installed clients or the SDK-generated files. #extend-exclude = ''' #lib/(