ci(qc): improve .py matching globs
This commit is contained in:
parent
e38d9d8bff
commit
b371a7c4df
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
|||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- '*.py'
|
||||
- '**.py'
|
||||
|
||||
jobs:
|
||||
|
@ -24,13 +25,13 @@ jobs:
|
|||
run: devbox run poetry build
|
||||
|
||||
- name: analyse with mypy
|
||||
run: devbox run poetry run mypy **/*.py
|
||||
run: devbox run poetry run mypy .
|
||||
|
||||
- name: check for black formatting compliance
|
||||
run: devbox run poetry run "black --check **/*.py"
|
||||
run: devbox run poetry run "black --check ."
|
||||
|
||||
- name: analyse isort compliance
|
||||
run: devbox run poetry run "isort --check **/*.py"
|
||||
run: devbox run poetry run "isort --check *.py **/*.py"
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue