Open WhyNotHugo opened 4 years ago
Thank you for your report. I agree that this looks like a false positive.
We're currently very busy reworking large parts of the Python QL libraries, so we won't be addressing this FP until later this year. In the meantime, if you find the alert bothersome, you can disable it by suppressing the alert, either locally or for the entire project
Makes sense. Sounds like it'll be addressed one way or another then. Cheers!
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:
Alerts
tab. For example, https://lgtm.com/projects/g/pallets/click/alerts/.View this alert within the complete file
.I've no idea how to change the branch on the UI, there's on clean way of doing it.