mirror of
https://github.com/getsolus/packages.git
synced 2025-04-26 21:01:01 +03:00
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:
parent
87f000663c
commit
c0981ace5c
1 changed files with 5 additions and 2 deletions
7
.github/workflows/script_lint.yml
vendored
7
.github/workflows/script_lint.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue