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