MyPy Type Checking #666
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: MyPy Type Checking | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: | |
| - "*" | |
| schedule: | |
| - cron: "59 23 * * *" | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: Manual Type Checking | |
| default: type_checking | |
| required: false | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: setup micromamba | |
| uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| environment-file: ci/py314_latest.yaml | |
| create-args: >- | |
| mypy | |
| - name: Install package | |
| run: pip install . | |
| - name: Check package | |
| run: | | |
| mypy neatnet/ --ignore-missing-imports --install-types --non-interactive |