Skip to content

Commit

Permalink
changed linting and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JHalbauer committed Mar 6, 2024
1 parent f0da880 commit 09a897d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ per-file-ignores =
./src/grass_gis_helpers/general.py: F821
./src/grass_gis_helpers/location.py: F821
./src/grass_gis_helpers/mapset.py: F821
./src/grass_gis_helpers/open_geodata_germany/download_data.py: F821,E501
./src/grass_gis_helpers/open_geodata_germany/download_data.py: F821
./src/grass_gis_helpers/open_geodata_germany/federal_state.py: F821
./src/grass_gis_helpers/parallel.py: F821
./src/grass_gis_helpers/tiling.py: F821
Expand Down
6 changes: 4 additions & 2 deletions src/grass_gis_helpers/open_geodata_germany/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_download_dir(download_dir):
def url_response(url):
"""URL response function which is used by download_data_using_threadpool
Arsg:
Args:
url (str): data download url
Return:
url (str): Return the url for printing
Expand Down Expand Up @@ -116,7 +116,8 @@ def extract_compressed_files(file_names, download_dir):


def extract_compressed_files_deflate64(file_names, download_dir):
"""Extract compressed files to download directory using the zipfile_deflate64 library.
"""Extract compressed files to download directory using the
zipfile_deflate64 library.
Args:
file_names (list): List with compressed e.g. zip file names which
Expand All @@ -139,6 +140,7 @@ def extract_compressed_files_deflate64(file_names, download_dir):

def fix_corrupted_data(file):
"""Fix corrupted XYZ/TXT data file e.g. for Berlin DOMs
Args:
file (str): XYZ or TXT data file with corrupted data
"""
Expand Down

0 comments on commit 09a897d

Please sign in to comment.