From 018e8f56afe356e6fbf6576f62b50527e0c670ae Mon Sep 17 00:00:00 2001 From: rany2 Date: Thu, 5 Jan 2023 01:51:16 +0200 Subject: [PATCH] Fix mypy paths to check * for some reason this error doesn't happen locally --- .github/workflows/code-quality.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index cf4eccf..c1cd294 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -7,9 +7,9 @@ on: branches: [ "master" ] jobs: - code-quality: + lint: runs-on: ubuntu-latest - name: "Check code quality" + name: "Lint" steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -18,8 +18,8 @@ jobs: - name: Install all dependencies run: pip install .[dev] - name: Run mypy - run: mypy --pretty . + run: mypy --pretty src examples - name: Run isort run: isort --check-only --diff . - name: Run black - run: black --check --diff . \ No newline at end of file + run: black --check --diff .