Closed ZackAttack614 closed 2 months ago
Hello @ZackAttack614! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
hexrd/grainmap/nfutil.py
:Line 1114:80: E501 line too long (87 > 79 characters) Line 1136:80: E501 line too long (87 > 79 characters) Line 1553:80: E501 line too long (103 > 79 characters) Line 1718:29: E252 missing whitespace around parameter equals Line 1718:30: E252 missing whitespace around parameter equals Line 1738:80: E501 line too long (82 > 79 characters) Line 1807:80: E501 line too long (85 > 79 characters) Line 1815:80: E501 line too long (85 > 79 characters) Line 1836:80: E501 line too long (81 > 79 characters)
hexrd/grainmap/tomoutil.py
:Line 122:57: E203 whitespace before ':' Line 212:32: E203 whitespace before ':' Line 212:55: E203 whitespace before ':'
scripts/preprocess_tomo_mask.py
:Line 148:18: E225 missing whitespace around operator Line 148:69: E502 the backslash is redundant between brackets Line 152:17: E225 missing whitespace around operator Line 152:70: E231 missing whitespace after ',' Line 152:80: E501 line too long (115 > 79 characters) Line 152:84: E231 missing whitespace after ',' Line 152:95: E231 missing whitespace after ','
Attention: Patch coverage is 0%
with 414 lines
in your changes missing coverage. Please review.
Project coverage is 30.23%. Comparing base (
5ecf297
) to head (2638c99
).
Files | Patch % | Lines |
---|---|---|
hexrd/grainmap/nfutil.py | 0.00% | 348 Missing :warning: |
hexrd/grainmap/tomoutil.py | 0.00% | 66 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@gustafsonsven
The code that this PR affects is being replaced by newer code. Marked "Won't Do."
Mostly this cleans up the
nfutil.py
script. I linted the code, simplified some logic, and cut out some unnecessary commented out code and arguments. This will make it a bit easier to do a version migration to 1.0.0.This was an aggressive update, so I am very open to requested changes before doing a full merge.