Change usage of black to the official black action (#152)

This commit is contained in:
Philipp Horstenkamp 2023-09-25 20:26:02 +02:00 committed by GitHub
parent 5bbdf046d2
commit 5e716801c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,13 @@ jobs:
Black:
runs-on: ubuntu-latest
steps:
- name: Set up python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Check out Git repository
uses: actions/checkout@v3
- run: pip install black
- name: Run black
run: |
black src tests
uses: psf/black@stable
with:
options: --check --diff --color --fast
src: ./src ./tests
mypy:
runs-on: ubuntu-latest