Skip to content

Commit

Permalink
Replace black with ruff (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
lra committed Feb 11, 2024
1 parent 5f88252 commit 3e4943b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/lint.yaml → .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ release: clean
poetry build
poetry publish

black:
black --target-version py310 .
ruff:
ruff check .

0 comments on commit 3e4943b

Please sign in to comment.