1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-16 14:15:00 +00:00

Please pyright and type ignore some stuff

This commit is contained in:
VarMonke 2022-05-03 15:39:13 +05:30
parent 6f41bc8238
commit 404a589e87
8 changed files with 18 additions and 18 deletions

View file

@ -25,7 +25,7 @@ class DPYStandaloneHTMLBuilder(StandaloneHTMLBuilder):
def write_genindex(self) -> None:
# the total count of lines for each index letter, used to distribute
# the entries into two columns
genindex = IndexEntries(self.env).create_index(self, group_entries=False)
genindex = IndexEntries(self.env).create_index(self, group_entries=False) #type: ignore
indexcounts = []
for _k, entries in genindex:
indexcounts.append(sum(1 + len(subitems)