Closed Joonalai closed 3 years ago
Add flake8-qgis to .pre-commit-config.yaml.
Also stop passing iface from __init__.py. Use it only by from qgis.utils import iface.
__init__.py
from qgis.utils import iface
Add flake8-qgis to .pre-commit-config.yaml.
Also stop passing iface from
__init__.py
. Use it only byfrom qgis.utils import iface
.