Skip to content

Commit

Permalink
use psf action
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgar-21 committed Aug 4, 2024
1 parent 93bba53 commit e88ee6a
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,7 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
python-version: '3.11'

- name: Install Black
run: |
python -m pip install --upgrade pip
pip install black
- name: Run Black check
run: >
black --check --verbose --line-length 79 .
options: "--check --verbose --line-length 79"

0 comments on commit e88ee6a

Please sign in to comment.