Skip to content

Commit

Permalink
Add typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Sep 7, 2022
1 parent c8a6326 commit 194cab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', pypy3]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', pypy3]
exclude:
- os: macos-latest
python-version: pypy3
Expand All @@ -25,16 +25,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip mypy
pip install -U pip flake8 setuptools
- name: Style checks
run: |
python -m flake8
run: python -m flake8
- name: Typing checks
run: python -m mypy patiencediff
- name: Build
run: |
python setup.py build_ext -i
run: python setup.py build_ext -i
- name: Test suite run
run: |
python -m unittest patiencediff.test_patiencediff
run: python -m unittest patiencediff.test_patiencediff
env:
PYTHONHASHSEED: random
2 changes: 0 additions & 2 deletions patiencediff/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

from __future__ import absolute_import

import sys
import difflib

Expand Down

0 comments on commit 194cab4

Please sign in to comment.