Skip to content

Commit

Permalink
Use ready-made black action
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed May 17, 2024
1 parent 30d9ec9 commit 5acd81f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: psf/black@stable
with:
python-version-file: ".github/workflows/python-version.txt"
cache: "pip"
- name: Install Dependencies
run: python -m pip install -Ue ".[dev]"
- name: Run black
run: black --check .
working-directory: ./src
src: "./src"
html:
name: HTML checks
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5acd81f

Please sign in to comment.