github / github/codeql

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

Open
#4,373 1 comment 0 reactions 0 assignees View on GitHub
false-positive Python
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.