github / github/codeql

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

Offen
#4,373 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
false-positive Python
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.