-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce Unittests & a lot of refactoring & pylint findings corrections #16
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osm_maps_functions - read_process_input --> process_input and check_and_download_files file_directory_functions - read_json_file
- file- and method- comments - unused / wrong order imports - some minor other findings
osm_maps_functions - read_process_input --> process_input and check_and_download_files downloader - download_files_if_needed --> check_and_download_files_if_needed
method calc_border_countries - move from downloader --> osm_maps_functions
- for downloader.py
methods: - download_land_poligons_file - download_map
- subprocess-run-check https://vald-phoenix.github.io/pylint-errors/plerr/errors/stdlib/W1510
- create downloader later when all constructor values are known - clearer flow - constructor input parameters in lower letters
- for osm_maps_functions.py
treee111
changed the title
Parametss
Control download & processing of border countries, unittests, refactoring, pylint findings
Jul 4, 2021
- delete unused path append
treee111
force-pushed
the
unit-tests-for-downloader
branch
from
July 4, 2021 20:13
acd9e48
to
4d7d59f
Compare
treee111
changed the title
Control download & processing of border countries, unittests, refactoring, pylint findings
unittests, refactoring, pylint findings
Jul 4, 2021
treee111
changed the title
unittests, refactoring, pylint findings
Introduce Unittests & a lot of refactoring & pylint findings corrections
Jul 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #14
This PR introduces unittests for:
It also refactores a lot of mainly these two .py files and corrects pylint findings across all files