CI/hooks: Bring py3 scripts under test per request

**Summary**
Ensure that all available common/Scripts/*.py files get linted by flake8
as part of commits.

This way, new python3 scripts will automagically be linted on addition.

Signed-off-by: Rune Morling <ermo@serpentos.com>
This commit is contained in:
Rune Morling 2024-04-07 21:59:09 +02:00
parent 87f000663c
commit c0981ace5c
No known key found for this signature in database
GPG key ID: AD76E653EF323BA7

View file

@ -20,8 +20,11 @@ jobs:
python-version: "3.10"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
path: common/CI common/Hooks common/Scripts/worklog.py
with:
path: >-
common/CI
common/Hooks
common/Scripts
- name: mypy lint
uses: jpetrucciani/mypy-check@master
with: