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 00a622d
Show file tree
Hide file tree
Showing 22 changed files with 442 additions and 415 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
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
- name: Install mypy
run: pip install tox

- 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.

Loading

0 comments on commit 00a622d

Please sign in to comment.