Skip to content

Commit

Permalink
Mypy doesn't handle importing from submodules well
Browse files Browse the repository at this point in the history
So just igonre the typing on zoneinfo.

github com/python/mypy/issues/1153
  • Loading branch information
BryceStevenWilley committed Aug 5, 2022
1 parent 8b75187 commit fc5e34b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docassemble/AssemblyLine/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
import json
import os
try:
import zoneinfo
import zoneinfo # type: ignore
except ImportError:
import backports.zoneinfo as zoneinfo
import backports.zoneinfo as zoneinfo # type: ignore

__all__ = [
"is_file_like",
Expand Down

0 comments on commit fc5e34b

Please sign in to comment.