Skip to content

Commit a51c49c

Browse files
authored
Docutils typeshed are a bit more complete now.
We don't need this type ignore comment anymore. Issue python/typeshed#5667 is fixed.
1 parent 820a3fd commit a51c49c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pydoctor/epydoc/markup/restructuredtext.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,7 @@ def __init__(self,
392392

393393
# Set the document's settings.
394394
if self.settings is None:
395-
settings = OptionParser([HTMLWriter()]).get_default_values() #type: ignore[arg-type]
396-
# See: https://github.com/python/typeshed/issues/5667
397-
395+
settings = OptionParser([HTMLWriter()]).get_default_values()
398396
self.__class__.settings = settings
399397
document.settings = self.settings
400398

0 commit comments

Comments
 (0)