ModuleUpdate/Setup: install pkg_resources, check pip, typing and cleanup (#1593)

* ModuleUpdater/setup: install pkg_resources and check for pip

plus minor cleanup in the github actions

* ModuleUpdate/setup: make flake8 happy

* ModuleUpdate/setup: make mypy happier
This commit is contained in:
black-sliver
2023-03-25 19:54:42 +01:00
committed by GitHub
parent 67eb370200
commit ffd7d5da74
6 changed files with 77 additions and 32 deletions

View File

@@ -12,7 +12,7 @@ on:
- '**.py'
jobs:
build:
flake8:
runs-on: ubuntu-latest
@@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install flake8 pytest pytest-subtests
pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |