From ddf54d0aa7ddd61976859c919ecb4412328d8e59 Mon Sep 17 00:00:00 2001 From: sax Date: Thu, 13 Jun 2024 05:46:51 +0200 Subject: [PATCH] 2024-06-13 05:46 - updates --- .github/file-filters.yml | 3 +++ .github/workflows/mypy.yml | 4 ++-- .mypy.ini | 5 ----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/file-filters.yml b/.github/file-filters.yml index 6612dc64..53da9348 100644 --- a/.github/file-filters.yml +++ b/.github/file-filters.yml @@ -15,6 +15,9 @@ changelog: - added|modified: 'changes/**' - 'CHANGELOG.md' +mypy: + - *python + - 'mypy.ini' docker_base: - *docker diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index aba253bc..c7c411ca 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -11,7 +11,7 @@ on: - releases/* concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: "${{ github.workflow }}-${{ github.ref }}" cancel-in-progress: true defaults: @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 outputs: - python_files: ${{ steps.changes.outputs.python }} + mypy: ${{ steps.changes.outputs.mypy }} steps: # - run: git config --global --add safe.directory $(realpath .) - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.mypy.ini b/.mypy.ini index ada05c9d..cc5ba859 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -1,11 +1,6 @@ [mypy] python_version = 3.12 files = src/ -;exclude = ~OLD -; ~management -; ~billing -;exclude = (?x)(^\~management$) -;exclude = (?x)(.*/power_query/.*) exclude = (management/|tests/|manage.py) install_types = true