Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 21, 2020
1 parent e396d45 commit b536ef9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions processing_r/test/test_qgis_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
__copyright__ = ('Copyright 2012, Australia Indonesia Facility for '
'Disaster Reduction')

import os
import unittest
from qgis.core import (QgsProviderRegistry,
QgsCoordinateReferenceSystem,
QgsRasterLayer)
from qgis.core import QgsProviderRegistry
from .utilities import get_qgis_app


Expand Down
2 changes: 0 additions & 2 deletions processing_r/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import tempfile
from osgeo import gdal
import qgis # pylint: disable=unused-import
from qgis.PyQt import Qt

try:
from pip import main as pipmain
Expand All @@ -41,7 +40,6 @@ def _run_tests(test_suite, package_name, with_coverage=False):
print('########')
print('%s tests has been discovered in %s' % (count, package_name))
print('Python GDAL : %s' % gdal.VersionInfo('VERSION_NUM'))
print('QT : %s' % Qt.QT_VERSION)
print('########')
if with_coverage:
cov = coverage.Coverage(
Expand Down

0 comments on commit b536ef9

Please sign in to comment.