github / github/codeql

LGTM.com - false positive

Đang mở
#4,024 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
false-positive Python
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

**Description of the false positive**

This function is calling super. It's using python2-compatible syntax in a python3-only project, but the call to init still works.

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

https://lgtm.com/projects/g/mirumee/django-payments/rev/pr-cf8a1ae2dfa932f0fcc02f031698bbd57324c063

Relevant
https://github.com/mirumee/django-payments/pull/223#issuecomment-670149501

Can't do the inline instructions:

1. Open the project on LGTM.com.
For example, https://lgtm.com/projects/g/pallets/click/.
2. Switch to the `Alerts` tab. For example, https://lgtm.com/projects/g/pallets/click/alerts/.
3. Scroll to the alert that you would like to report. <-- doesn't show up here.
4. Click on the right most icon `View this alert within the complete file`.
5. A new browser tab opens. Copy and paste the page URL here.
For example, https://lgtm.com/projects/g/pallets/click/snapshot/719fb7d8322b0767cdd1e5903ba3eb3233ba8dd5/files/click/_winconsole.py#xa08d213ab3289f87:1.

I've no idea how to change the branch on the UI, there's on clean way of doing it.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.