Closed mperrin closed 5 months ago
Hello @mperrin, Thank you for submitting the Pull Request !
webbpsf/match_data.py
:Line 1:1: E266 too many leading '#' for block comment Line 25:38: E231 missing whitespace after ',' Line 36:17: E225 missing whitespace around operator Line 36:46: E225 missing whitespace around operator Line 39:20: E225 missing whitespace around operator Line 41:20: E225 missing whitespace around operator Line 44:51: E226 missing whitespace around arithmetic operator Line 44:55: E226 missing whitespace around arithmetic operator Line 48:5: E303 too many blank lines (2) Line 53:76: E114 indentation is not a multiple of four (comment) Line 53:76: E116 unexpected indentation (comment) Line 57:37: E226 missing whitespace around arithmetic operator
If you have not done so, please lint your code in accordance with best practices.
Attention: Patch coverage is 50.00000%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 60.58%. Comparing base (
63f7231
) to head (5e46e8d
).
Files | Patch % | Lines |
---|---|---|
webbpsf/match_data.py | 50.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The test failures are due to trying to run on py 3.9, now deprecated. That's fixed elsewhere (#817) so is not a concern for this PR. Going to merge anyway regardless of those failed tests.
Simple PR to add a keyword passthrough. This lets the
choice='before'
or'after'
parameter be used with thesetup_sim_to_match_data
function, and get passed toload_wss_opd_by_date
.Also adds a missing docstring for setup_sim_to_match_data.