mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-06 03:57:29 +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:
|
Black:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up python
|
|
||||||
id: setup-python
|
|
||||||
uses: actions/setup-python@v4
|
|
||||||
with:
|
|
||||||
python-version: '3.11'
|
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: pip install black
|
|
||||||
- name: Run black
|
- name: Run black
|
||||||
run: |
|
uses: psf/black@stable
|
||||||
black src tests
|
with:
|
||||||
|
options: --check --diff --color --fast
|
||||||
|
src: ./src ./tests
|
||||||
|
|
||||||
mypy:
|
mypy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user