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 dfd5d9e commit aabe629
Show file tree
Hide file tree
Showing 22 changed files with 419 additions and 424 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
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 --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 aabe629

Please sign in to comment.