Skip to content

Commit

Permalink
Add missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 5, 2020
1 parent a7e0831 commit 9eae0ca
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions python/plugins/db_manager/db_plugins/postgis/connector.py
Expand Up @@ -34,6 +34,7 @@
)
from qgis.core import (
Qgis,
QgsCoordinateReferenceSystem,
QgsCredentials,
QgsVectorLayer,
QgsDataSourceUri,
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/algs/qgis/RasterSampling.py
Expand Up @@ -29,6 +29,7 @@

from qgis.core import (NULL,
QgsApplication,
QgsCsException,
QgsField,
QgsFeatureSink,
QgsRaster,
Expand Down
Expand Up @@ -33,7 +33,7 @@
from qgis.PyQt.QtWidgets import QMessageBox, QVBoxLayout, QLabel, QLineEdit, QWidget
from qgis.PyQt.QtGui import QPalette, QColor

from qgis.core import QgsApplication
from qgis.core import QgsApplication, Qgis
from qgis.gui import QgsMessageBar


Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsprocessingalgrunner.py
Expand Up @@ -54,7 +54,7 @@ def tr(self, string):

def createInstance(self):
"""Wrong!"""
return ExampleProcessingAlgorithm()
return ExampleProcessingAlgorithm() # noqa

def name(self):
return 'mycrashingscript'
Expand Down
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsrenderer.py
Expand Up @@ -17,7 +17,8 @@
QgsVectorLayer,
QgsFeature,
QgsGeometry,
QgsPoint
QgsPoint,
QgsPointXY
)
from qgis.testing import start_app, unittest

Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_wms_getprint.py
Expand Up @@ -35,7 +35,7 @@
import subprocess

from test_qgsserver import QgsServerTestBase
from qgis.core import QgsProject, QgsRenderChecker, QgsMultiRenderChecker
from qgis.core import QgsProject, QgsRenderChecker, QgsMultiRenderChecker, Qt
from qgis.server import QgsServerRequest
from utilities import getExecutablePath, unitTestDataPath

Expand Down

0 comments on commit 9eae0ca

Please sign in to comment.