Skip to content

Commit

Permalink
MyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers committed Apr 22, 2024
1 parent 10f5124 commit d74635a
Show file tree
Hide file tree
Showing 22 changed files with 443 additions and 416 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yaml
Expand Up @@ -8,18 +8,27 @@ jobs:
mypy:
name: mypy
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'

steps:
- uses: actions/checkout@master

- name: Set up Python
uses: actions/setup-python@v4

- name: Install tox
run: pip install tox
- name: Install mypy
run: pip install mypy

- name: Run tests
run: pip install python-dateutil && tox -e mypy
- name: Run MyPy
run: mypy freezegun tests --install-types --non-interactive

tests:
name: Python ${{ matrix.implementation }}${{ matrix.python-version }}
Expand Down
2 changes: 0 additions & 2 deletions freezegun/__init__.pyi

This file was deleted.

0 comments on commit d74635a

Please sign in to comment.