Browse Source

fix pep8

tags/1.4.6
Etienne Trimaille 2 years ago
parent
commit
e2d8de4f7c
4 changed files with 5 additions and 3 deletions
  1. 1
    1
      core/custom_logging.py
  2. 1
    1
      core/parser/osm_parser.py
  3. 2
    1
      quick_osm.py
  4. 1
    0
      ui/test/test_quickosm_widget.py

+ 1
- 1
core/custom_logging.py View File

@@ -111,4 +111,4 @@ def setup_logger(logger_name):
111 111
 
112 112
     # add the handlers to the logger
113 113
     add_logging_handler_once(logger, console_handler)
114
-    add_logging_handler_once(logger, qgis_handler)
114
+    add_logging_handler_once(logger, qgis_handler)

+ 1
- 1
core/parser/osm_parser.py View File

@@ -142,7 +142,7 @@ class OsmParser(QObject):
142 142
                 msg = "Error on the layer : " + \
143 143
                       layers[layer]['vectorLayer'].lastError()
144 144
                 raise GeoAlgorithmExecutionException(msg)
145
-                
145
+
146 146
             layers[layer]['vectorLayer'].setProviderEncoding('UTF-8')
147 147
 
148 148
             # Set some default tags

+ 2
- 1
quick_osm.py View File

@@ -36,7 +36,8 @@ from QuickOSM.ui.my_queries_dialog import MyQueriesDockWidget
36 36
 from QuickOSM.ui.query_dialog import QueryDockWidget
37 37
 from QuickOSM.ui.osm_file_dialog import OsmFileDockWidget
38 38
 from QuickOSM.ui.quick_query_dialog import QuickQueryDockWidget
39
-from QuickOSM.quick_osm_processing.algorithm_provider import QuickOSMAlgorithmProvider
39
+from QuickOSM.quick_osm_processing.algorithm_provider import (
40
+    QuickOSMAlgorithmProvider)
40 41
 from QuickOSM.core.utilities.tools import (
41 42
     get_current_version,
42 43
     get_setting,

+ 1
- 0
ui/test/test_quickosm_widget.py View File

@@ -31,6 +31,7 @@ QGIS_APP, CANVAS, IFACE, PARENT = get_qgis_app()
31 31
 
32 32
 from QuickOSM.ui.QuickOSMWidget import QuickOSMWidget
33 33
 
34
+
34 35
 class TestQuickOSMWidget(unittest.TestCase):
35 36
 
36 37
     def setUp(self):

Loading…
Cancel
Save