Skip to content

Commit

Permalink
remove flake8 from distance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arohanajit committed Sep 20, 2024
1 parent 2292046 commit 90ae751
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ per-file-ignores =
__init__.py: F401, F403
man/build_html.py: E501
imagery/i.atcorr/create_iwave.py: F632, F821, W293
doc/python/m.distance.py: F403, F405, E501
doc/gui/wxpython/example/dialogs.py: F401
locale/grass_po_stats.py: E122, E128, E231, E401, E722
gui/scripts/d.wms.py: E501
Expand Down
11 changes: 8 additions & 3 deletions doc/python/m.distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# %module
# % label: Finds the distance between two or more points.
# % description: If the projection is latitude-longitude, this distance is measured along the geodesic.
# % description: If the projection is lat-long, distance measured along the geodesic.
# % keyword: miscellaneous
# % keyword: distance
# % keyword: measure
Expand All @@ -45,10 +45,15 @@
# %end

import sys
from ctypes import byref, c_double

import grass.script as gs

from grass.lib.gis import *
from grass.lib.gis import (
G_gisinit, G_begin_distance_calculations, G_scan_easting, G_scan_northing,
G_distance, G_begin_polygon_area_calculations, G_area_of_polygon,
G_database_units_to_meters_factor, G_database_unit_name,
PROJECTION_LL
)


def main():
Expand Down

0 comments on commit 90ae751

Please sign in to comment.