Skip to content

Commit

Permalink
chore(mypy): skip argcomplete import for now
Browse files Browse the repository at this point in the history
Errors out with `python_version` < 3.6 due to variable annotations in
use in recent versions.
  • Loading branch information
scop committed Aug 13, 2023
1 parent a4d951a commit 3e0feec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hashpipe/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def pattern(arg: str) -> Pattern[bytes]:
)

try:
import argcomplete # type: ignore[import]
import argcomplete
except ImportError:
pass
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ disallow_any_decorated = True
disallow_any_explicit = True
warn_unreachable = True
exclude = ^(build|venv)/
[mypy-nox.*,pytest.*,_pytest.*]
[mypy-argcomplete.*,nox.*,pytest.*,_pytest.*]
# variable annotations present, errors out with python_version < 3.6
follow_imports = skip
[mypy-noxfile]
Expand Down

0 comments on commit 3e0feec

Please sign in to comment.