Alir3z4 / Alir3z4/html2text

Mypy reports ignore_anchors isn't an attribute

オープン
#415 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.2k
フォーク
296
PR マージ指標
30日以内にマージされた PR はありません

説明

Mypy reports this error:

mypy a.py
a.py:3: error: "HTML2Text" has no attribute "ignore_anchors" [attr-defined]
Found 1 error in 1 file (checked 1 source file)

Version by `html2text --version` 2024.2.26

Python version `python --version` Python 3.10.12

Test script a.py

from html2text import HTML2Text
a = HTML2Text()
a.ignore_anchors = True
a.ignore_images = True
a.ignore_emphasis = True
a.ignore_tables = True

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。