github / github/codeql

LGTM.com - false positive: signature mismatch for python-markup's InlineProcessor handleMatch()

Ouverte
#4,373 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
false-positive Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**Description of the false positive**

LGTM reports that the overriding method 'handleMatch' has signature mismatch with overridden method, but it doesn't seem to be true: https://github.com/Python-Markdown/markdown/blob/b701c34ebd7b2d0eb319517b9a275ddf0c89608d/markdown/inlinepatterns.py#L283

Maybe it's because of typing?

**URL to the alert on the project page on LGTM.com**

https://lgtm.com/projects/g/fedora-infra/bodhi/snapshot/cf251a666b2cc1d81c7b9e8d33b5d48ecfd36b97/files/bodhi/server/ffmarkdown.py?sort=name&dir=ASC&mode=heatmap#x9b64ff0d2c903ff:1

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.