Flake8 maintenance: lasio/las.py - Option 2 #568
Merged
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.
Description:
This change covers flake8 changes for one of the main Lasio files:
las.py
This is part of Flake8 maintenance for Lasio code #564
Notes!
This Pull Request is the 2nd of two options! Select one of the options and close the other.
This option (the 2nd option) resolves
las.py:1187:101: E501 line too long (101 > 100 characters)
by moving unused parameters to kwargs in theupdate_curves()
method.The first option is Flake8 maintenance: lasio/las.py - Option 1 #567
It resolved the same issue by removing unused parameters from the
update_curves()
method.Changes made
Changes suggested by flake8.
Test Results
These changes reduce the number of lines of code in las.py and reduce the number of missed statements.
--
Let me know if this change could be accepted (or rejected) or
needs some additional changes to be approved and merged.
Thank you,
DC