mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-06 01:37:28 +02:00
Change usage of black to the official black action (#152)
This commit is contained in:
parent
5bbdf046d2
commit
5e716801c0
12
.github/workflows/lint-actions.yaml
vendored
12
.github/workflows/lint-actions.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user