mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 00:22:34 +02:00
Lightend black in the pipline building (#128)
Pipline should now run now 20 -40s faster.
This commit is contained in:
parent
56b6280264
commit
06fef5361d
12
.github/workflows/lint-actions.yaml
vendored
12
.github/workflows/lint-actions.yaml
vendored
@ -15,14 +15,8 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install and configure Poetry
|
- run: pip install black
|
||||||
uses: snok/install-poetry@v1
|
- name: Run black
|
||||||
with:
|
|
||||||
version: 1.4.2
|
|
||||||
virtualenvs-create: false
|
|
||||||
virtualenvs-path: ~/local/share/virtualenvs
|
|
||||||
- run: poetry install --without develop,doc,test
|
|
||||||
- name: Run linters
|
|
||||||
run: |
|
run: |
|
||||||
black src tests
|
black src tests
|
||||||
|
|
||||||
@ -43,7 +37,7 @@ jobs:
|
|||||||
virtualenvs-create: false
|
virtualenvs-create: false
|
||||||
virtualenvs-path: ~/local/share/virtualenvs
|
virtualenvs-path: ~/local/share/virtualenvs
|
||||||
- run: poetry install --without develop,doc
|
- run: poetry install --without develop,doc
|
||||||
- name: Run linters
|
- name: Run mypy
|
||||||
run: |
|
run: |
|
||||||
mypy src tests
|
mypy src tests
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user