From 9677855bb4e3eeb7c249bec76dc70a2cf371c83a Mon Sep 17 00:00:00 2001 From: Allen Goodman Date: Thu, 4 Apr 2024 14:00:41 -0400 Subject: [PATCH] ruff workflow --- .github/workflows/push.yml | 4 ---- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e8fff73eea..98fe7f935d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -3,10 +3,6 @@ jobs: runs-on: "ubuntu-latest" steps: - uses: "actions/checkout@v4" - - uses: "actions/setup-python@v5" - with: - python-version: "3.x" - - run: "python -m pip install ruff" - uses: "chartboost/ruff-action@v1" with: args: "format --check" diff --git a/pyproject.toml b/pyproject.toml index a9165a4b9a..7f9d47afbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ name = "beignet" readme = "README.md" requires-python = ">=3.10" -[tool.ruff] +[tool.ruff.format] docstring-code-format = true [tool.setuptools_scm]