Skip to content

Commit

Permalink
wxGUI: Removed star imports in digit.py (#4692)
Browse files Browse the repository at this point in the history
* fixed Flake8 F405, F403

* update
  • Loading branch information
arohanajit authored Nov 12, 2024
1 parent 660e8f8 commit 808ac67
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ per-file-ignores =
gui/wxpython/animation/g.gui.animation.py: E501
gui/wxpython/tplot/frame.py: F841, E722
gui/wxpython/tplot/g.gui.tplot.py: E501
gui/wxpython/iclass/digit.py: F405, F403
gui/wxpython/iclass/frame.py: F405, F403
gui/wxpython/iclass/g.gui.iclass.py: E501
gui/wxpython/iclass/statistics.py: F841, F405, F403
Expand Down
25 changes: 19 additions & 6 deletions gui/wxpython/iclass/digit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,29 @@
"""

import wx

from core.gcmd import GWarning
from vdigit.mapwindow import VDigitWindow
from vdigit.wxdigit import IVDigit
from vdigit.wxdisplay import DisplayDriver, TYPE_AREA
from core.gcmd import GWarning
from vdigit.wxdisplay import TYPE_AREA, DisplayDriver

try:
from grass.lib.gis import G_verbose, G_set_verbose
from grass.lib.vector import *
from grass.lib.vedit import *
from ctypes import pointer

from grass.lib.gis import G_set_verbose, G_verbose
from grass.lib.vector import (
Map_info,
Vect_build,
Vect_close,
Vect_copy_map_lines,
Vect_get_area_cat,
Vect_get_num_lines,
Vect_is_3d,
Vect_open_new,
Vect_open_tmp_new,
Vect_open_tmp_update,
Vect_open_update,
)
from grass.lib.vedit import TYPE_CENTROIDIN, Vedit_delete_areas_cat
except ImportError:
pass

Expand Down

0 comments on commit 808ac67

Please sign in to comment.