Skip to content

Commit

Permalink
Setup ruff linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed Apr 30, 2024
1 parent 74f11ab commit 9344ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pre-commit Hooks
.github/workflows/lint.ymlname: Ruff Linter


on: [pull_request]
Expand All @@ -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
run: ruff check --config pyproject.toml
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
g[tool.black]
[tool.black]
# don't format the installed clients or the SDK-generated files.
#extend-exclude = '''
#lib/(
Expand Down

0 comments on commit 9344ef9

Please sign in to comment.