Skip to content

Commit

Permalink
wxGUI: Removed PEP8 errors from rlisetup/ (#4693)
Browse files Browse the repository at this point in the history
removed flake8
  • Loading branch information
arohanajit authored Nov 13, 2024
1 parent 7ab4fde commit b2e2571
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ per-file-ignores =
gui/wxpython/tools/build_modules_xml.py: E722
gui/wxpython/web_services/cap_interface.py: E501
gui/wxpython/web_services/widgets.py: F841, E402
gui/wxpython/rlisetup/sampling_frame.py: F841
gui/wxpython/rlisetup/wizard.py: E722
# Generated file
gui/wxpython/menustrings.py: E501
# F821 undefined name 'cmp'
Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/rlisetup/sampling_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ def _onToolChanged(self):
def _radiusDrawn(self, x, y):
"""When drawing finished, get region values"""
mouse = self.mapWindow.mouse
item = self._registeredGraphics.GetItem(0)
p1 = mouse["begin"]
p2 = mouse["end"]
dist, (north, east) = self.mapWindow.Distance(p1, p2, False)
Expand Down
2 changes: 1 addition & 1 deletion gui/wxpython/rlisetup/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ def OnVector(self, event):
def OnLayer(self, event):
try:
self.vectorlayer = self.vectlayer.GetValue()
except:
except AttributeError:
self.vectorlayer = None
next = wx.FindWindowById(wx.ID_FORWARD)
next.Enable(self.CheckInput())
Expand Down

0 comments on commit b2e2571

Please sign in to comment.