ci(qc): improve .py matching globs

This commit is contained in:
Mark Joshwel 2023-09-04 15:53:34 +00:00
parent e38d9d8bff
commit b371a7c4df

View file

@ -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