diff --git a/.flake8 b/.flake8 index fca63d5..48303a8 100644 --- a/.flake8 +++ b/.flake8 @@ -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 diff --git a/src/grass_gis_helpers/open_geodata_germany/download_data.py b/src/grass_gis_helpers/open_geodata_germany/download_data.py index 2d81af4..e6f8c2c 100644 --- a/src/grass_gis_helpers/open_geodata_germany/download_data.py +++ b/src/grass_gis_helpers/open_geodata_germany/download_data.py @@ -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 @@ -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 @@ -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 """