diff --git a/.github/workflows/lint.yaml b/.github/workflows/ruff.yaml similarity index 57% rename from .github/workflows/lint.yaml rename to .github/workflows/ruff.yaml index a4180836a..04afafe30 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/ruff.yaml @@ -7,10 +7,8 @@ on: jobs: - black: + ruff: runs-on: ubuntu-latest - container: python steps: - - run: pip install black - uses: actions/checkout@v4 - - run: black --check --target-version py310 . + - uses: chartboost/ruff-action@v1 diff --git a/Makefile b/Makefile index 22009361e..621171357 100644 --- a/Makefile +++ b/Makefile @@ -16,5 +16,5 @@ release: clean poetry build poetry publish -black: - black --target-version py310 . +ruff: + ruff check .