When this pull-request merges, then #561 can be considered resolved.
tests/test_serialization.py
tests/test_speed.py
tests/test_stack_curves.py
tests/test_version.py
tests/test_wrapped.py
tests/test_write.py
This pull request makes changes suggested by flake8.
These are mainly the same types of changes in the various files:
Remove unused sys import (replaced by tests/__init__.py)
Reorganize library and 3rd-party imports
Remove other unused imports
Convert path lambdas to functions
Change ambiguously short variable names to something more descriptive
Add additional asserts.
Flake8 Ignores:
Test data in test_write.py has lines with trailing white space. Test data in test_wrapped.py has lines with trailing white space and long lines.
Flake8 should be configured to ignore those lines. Below is the suggested configuration for a .flake8 file.
Description:
This change covers flake8 changes for the 2nd 3rd of the test suite files. This is part of Flake8 maintenance for test suite https://github.com/kinverarity1/lasio/issues/561
When this pull-request merges, then #561 can be considered resolved.
This pull request makes changes suggested by flake8. These are mainly the same types of changes in the various files:
Flake8 Ignores:
Test data in test_write.py has lines with trailing white space. Test data in test_wrapped.py has lines with trailing white space and long lines. Flake8 should be configured to ignore those lines. Below is the suggested configuration for a .flake8 file.
Test Results:
las.py started reporting an additional miss (from 63 to 64) but I haven't identified the before and after diff yet.
--
Let me know if this change could be accepted (or rejected) or needs some additional changes to be approved and merged.
Thank you, DC