Skip to content

Commit

Permalink
Bump mypy version
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jul 30, 2024
1 parent 7b04cd4 commit 0a07f5d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions enum_tools/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
from typing import Iterable, Iterator, List, Optional, Sequence, Tuple, TypeVar, Union

# 3rd party
import pygments.token # type: ignore[import]
from pygments.lexers.python import PythonLexer # type: ignore[import]
import pygments.token # type: ignore[import-untyped]
from pygments.lexers.python import PythonLexer # type: ignore[import-untyped]

__all__ = [
"get_tokens",
Expand Down
2 changes: 1 addition & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tox_testenv_extras: all
standalone_contrib_guide: true
min_coverage: 86
docs_fail_on_warning: true
mypy_version: "0.931"
mypy_version: 1.10.1
on_conda_forge: true

conda_channels:
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# 3rd party
import pytest
import sphinx
from bs4 import BeautifulSoup # type: ignore[import]
from bs4 import BeautifulSoup # type: ignore[import-untyped]
from sphinx.application import Sphinx

if sys.version_info >= (3, 10):
Expand All @@ -17,7 +17,7 @@
path = pathlib.Path
else:
# 3rd party
from sphinx.testing.path import path # type: ignore[misc]
from sphinx.testing.path import path # type: ignore[assignment]

pytest_plugins = ("coincidence", "sphinx.testing.fixtures", "sphinx_toolbox.testing")

Expand Down
2 changes: 1 addition & 1 deletion tests/test_autoenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# 3rd party
import pytest
import sphinx
from bs4 import BeautifulSoup, NavigableString # type: ignore[import]
from bs4 import BeautifulSoup, NavigableString # type: ignore[import-untyped]
from sphinx.application import Sphinx
from sphinx_toolbox.testing import HTMLRegressionFixture

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ignore_errors = True
changedir = {toxinidir}
extras = all
deps =
mypy==0.931
mypy==1.10.1
-r{toxinidir}/tests/requirements.txt
-r{toxinidir}/stubs.txt
commands = mypy enum_tools tests {posargs}
Expand Down

0 comments on commit 0a07f5d

Please sign in to comment.