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 c09109e
Show file tree
Hide file tree
Showing 22 changed files with 445 additions and 416 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yaml
Expand Up @@ -8,18 +8,29 @@ 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 dependencies
run: |
pip install mypy
pip install -r requirements.txt
- 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 c09109e

Please sign in to comment.