Skip to content

Commit

Permalink
REF: Convert remaining few type comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Mar 20, 2021
1 parent 2f07590 commit 0c349f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdoc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ def to_url_id(module):
url_cache[url] = len(url_cache)
return url_cache[url]

index = [] # type: List[Dict]
url_cache = {} # type: Dict[str, int]
index: List[Dict] = []
url_cache: Dict[str, int] = {}
for top_module in modules:
recursive_add_to_index(top_module)
urls = sorted(url_cache.keys(), key=url_cache.__getitem__)
Expand Down

0 comments on commit 0c349f4

Please sign in to comment.