mirror of
https://github.com/getsolus/packages.git
synced 2025-05-02 15:51:03 +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
5
.github/workflows/script_lint.yml
vendored
5
.github/workflows/script_lint.yml
vendored
|
@ -21,7 +21,10 @@ jobs:
|
||||||
- name: flake8 Lint
|
- name: flake8 Lint
|
||||||
uses: py-actions/flake8@v2
|
uses: py-actions/flake8@v2
|
||||||
with:
|
with:
|
||||||
path: common/CI common/Hooks common/Scripts/worklog.py
|
path: >-
|
||||||
|
common/CI
|
||||||
|
common/Hooks
|
||||||
|
common/Scripts
|
||||||
- name: mypy lint
|
- name: mypy lint
|
||||||
uses: jpetrucciani/mypy-check@master
|
uses: jpetrucciani/mypy-check@master
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue