Skip to content

Commit 6cea8ec

Browse files
committed
Fixed CI build
1 parent fae13af commit 6cea8ec

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.7"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.10"]
1717

1818
steps:
1919
- uses: "actions/checkout@v2"
@@ -44,5 +44,6 @@ jobs:
4444
- name: "Run mypy"
4545
run: |
4646
set -xe
47+
python -m pip install mypy==1.7.0
4748
python -m mypy --strict pyte
4849
shell: bash

pyte/screens.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
import warnings
3636
from collections import deque, defaultdict
3737
from functools import lru_cache
38-
from typing import Any, Callable, DefaultDict, Dict, Generator, List, NamedTuple, Optional, Set, Sequence, TextIO, TypeVar
38+
from typing import Any, Callable, Dict, Generator, List, NamedTuple, Optional, Set, Sequence, TextIO, TypeVar
3939

40-
from wcwidth import wcwidth as _wcwidth # type: ignore[import]
40+
from wcwidth import wcwidth as _wcwidth # type: ignore[import-not-found]
4141

4242
from . import (
4343
charsets as cs,

0 commit comments

Comments
 (0)