Skip to content

Commit

Permalink
tox: try pytype, still fails
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Aug 27, 2023
1 parent ea0db10 commit ec4cad2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
test:
- {PY: "3.11", TOXENV: "lint"}
- {PY: "3.10", TOXENV: "lint"}
steps:
- name: "Checkout"
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion skytools/basetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def fileno(self) -> int: raise NotImplementedError
FileDescriptorLike = Union[int, HasFileno]

try:
from typing_extensions import Buffer
from typing_extensions import Buffer # type: ignore
except ImportError:
if typing.TYPE_CHECKING:
from _typeshed import Buffer # type: ignore
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ test_deps =
pytest-cov==4.1.0
lint_deps =
mypy==1.5.1
pylint==2.17.5
pyflakes==3.1.0
#pytype==2023.8.14
typing-extensions==4.7.1
types-setuptools==68.1.0.0
types-psycopg2==2.9.21.11; platform_python_implementation != 'PyPy'
xlint_deps =
pylint==2.17.5
pytype==2023.8.22
doc_deps =
sphinx==7.2.2
docutils==0.20.1
Expand Down Expand Up @@ -55,11 +56,12 @@ commands =

[testenv:xlint]
#changedir = {envsitepackagesdir}
basepython = python3
basepython = python3.10
deps =
{[package]deps}
{[package]lint_deps}
{[package]test_deps}
{[package]lint_deps}
{[package]xlint_deps}
commands =
pylint skytools
#pytype skytools
Expand Down

0 comments on commit ec4cad2

Please sign in to comment.