mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-24 13:52:33 +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'
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install and configure Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.4.2
|
||||
virtualenvs-create: false
|
||||
virtualenvs-path: ~/local/share/virtualenvs
|
||||
- run: poetry install --without develop,doc,test
|
||||
- name: Run linters
|
||||
- run: pip install black
|
||||
- name: Run black
|
||||
run: |
|
||||
black src tests
|
||||
|
||||
@ -43,7 +37,7 @@ jobs:
|
||||
virtualenvs-create: false
|
||||
virtualenvs-path: ~/local/share/virtualenvs
|
||||
- run: poetry install --without develop,doc
|
||||
- name: Run linters
|
||||
- name: Run mypy
|
||||
run: |
|
||||
mypy src tests
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user