mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unneeded type annotation
This commit is contained in:
parent
9d8ef833db
commit
4add50a5f0
@ -718,7 +718,7 @@ def inspect_main(argv: list[str], /) -> int:
|
||||
|
||||
try:
|
||||
filename = argv[0]
|
||||
inv_data: Inventory = fetch_inventory(MockApp(), '', filename) # type: ignore[arg-type]
|
||||
inv_data = fetch_inventory(MockApp(), '', filename) # type: ignore[arg-type]
|
||||
for key in sorted(inv_data or {}):
|
||||
print(key)
|
||||
inv_entries = sorted(inv_data[key].items())
|
||||
|
Loading…
Reference in New Issue
Block a user