GispoCoding / flake8-qgis

Flake8 plugin for QGIS python plugins
MIT License
6 stars 4 forks source link

Clean code by separating error checks #10

Closed LKajan closed 4 months ago

LKajan commented 4 months ago

Previously _get_qgs101_and_103 and _get_qgs102_and_qgs104 were used to check for multiple errors using the same logic. For example ._ was tried to be replaced even when checking for PyQt import-errors where _ did not have any meaning.

Includes no changes to functionality or checks.