Skip to content

Commit

Permalink
Merge pull request #19 from Avasam/Pass-mypy-and-link-issues
Browse files Browse the repository at this point in the history
Pass mypy and link issues
  • Loading branch information
jaraco authored Aug 29, 2024
2 parents da55ee0 + e361d2d commit 2c72e5e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
10 changes: 5 additions & 5 deletions jaraco/text/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import functools
import itertools
import re
import sys
import textwrap

from typing import Iterable

try:
from importlib.resources import files # type: ignore
except ImportError: # pragma: nocover
from importlib_resources import files # type: ignore
if sys.version_info >= (3, 9):
from importlib.resources import files
else: # pragma: nocover
from importlib_resources import files

from jaraco.context import ExceptionTrap
from jaraco.functools import compose, method_cache
Expand Down
9 changes: 9 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ explicit_package_bases = True

# Disable overload-overlap due to many false-positives
disable_error_code = overload-overlap

# Will be replaced by pathlib in 3.10
[mypy-pathlib2.*]
ignore_missing_imports = True

# jaraco/jaraco.develop#20
# Lucretiel/autocommand#38
[mypy-autocommand.*]
ignore_missing_imports = True
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,3 @@ type = [


[tool.setuptools_scm]


[tool.pytest-enabler.mypy]
# Disabled due to jaraco/skeleton#143

0 comments on commit 2c72e5e

Please sign in to comment.