From 95b26f74c930c22da0d31d4f893924c9cd9c29c9 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:19:40 -0400 Subject: [PATCH] ci: Remove mypy workflow as covered by pre-commit.ci --- .github/workflows/mypy.yml | 15 --------------- .pre-commit-config.yaml | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 .github/workflows/mypy.yml diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml deleted file mode 100644 index fe20f337..00000000 --- a/.github/workflows/mypy.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Mypy -on: [push, pull_request] -jobs: - build: - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - cache: pip - cache-dependency-path: '**/requirements*.txt' - - run: pip install -r requirements_dev.txt - - run: mypy --strict --show-error-codes . diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de5fd332..7b7fe26d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: rev: v1.12.0 hooks: - id: mypy - args: [--strict] + args: [--strict, --show-error-codes] exclude: "(tests|migrations)/" additional_dependencies: - boto3-stubs