Closed johan12345 closed 4 years ago
Hello @johan12345! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
spiceypy/spiceypy.py
: No issues found.hey @johan12345, thanks for the contribution! I see that pep8 has a problem with using lambdas, once the pr has been updated to use defs instead it will be good to go.
Sure! I have replaced the lambdas with defs now.
Merging #384 into main will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #384 +/- ##
=======================================
Coverage 99.88% 99.88%
=======================================
Files 12 12
Lines 15106 15110 +4
=======================================
+ Hits 15088 15092 +4
Misses 18 18
Impacted Files | Coverage Δ | |
---|---|---|
spiceypy/spiceypy.py | 99.69% <100.00%> (+<0.01%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9aa3ade...9816306. Read the comment docs.
to improve performance of
et2datetime
.The performance of the datetime parsing itself is enhanced by a factor of 100:
This leads to a total performance improvement of ~60% for
et2datetime
:datetime.fromisoformat
is only available since Python 3.7, I added a fallback tostrptime
for Python 3.6.