Closed marty-larocque closed 5 years ago
Merging #112 into master will increase coverage by
1.84%
. The diff coverage is85.39%
.
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
+ Coverage 58.04% 59.89% +1.84%
==========================================
Files 14 16 +2
Lines 1230 1279 +49
==========================================
+ Hits 714 766 +52
+ Misses 516 513 -3
Impacted Files | Coverage Δ | |
---|---|---|
matplotcheck/tests/test_base_data.py | 100% <100%> (ø) |
|
matplotcheck/tests/test_base_titles_captions.py | 100% <100%> (ø) |
:arrow_up: |
matplotcheck/tests/test_base.py | 100% <100%> (+4.76%) |
:arrow_up: |
matplotcheck/tests/test_ts_data.py | 100% <100%> (ø) |
|
matplotcheck/tests/test_base_axis.py | 100% <100%> (+1.63%) |
:arrow_up: |
matplotcheck/tests/conftest.py | 75.38% <26.66%> (-14.62%) |
:arrow_down: |
matplotcheck/base.py | 83.47% <88.23%> (+4.23%) |
: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 f318e77...1d091a0. Read the comment docs.
@lwasser Could you take a look at this?
@lwasser The for loop and .iloc[] were temporary things I'd put in for debugging. I'm pretty confused how they ended up in the most recent commit, as I deleted them a couple commits ago, but they should be gone now.
ok @ryla5068 this all looks great. i ddi some testing of black locally. for some reason it's not formatting the docstrings using the 79 character line length. i'm not sure why but let's just ensure the code is 79 characters is less long including the docstrings. i'll create an issue surrounding this but you can adjust the code manually for this pr. once you are done with the fixes, please ping me here again and i'll give this another review (and will likely merge as my comments are very small!!)
a few other question
@lwasser I think I've fixed everything here.
test_ts_data.py
, but left it commented out.pytest.raises()
call without a match=
, but I added a match=
to a couple tests in test_base.py
. I believe every test in that file and intest_base_data.py
has a match=
now.base.py
to have the correct length linesbase.py:683
), that line just does not have a test right now. That should be addressed in a future pr.excellent work on this PR @ryla5068 !!! i'm going to let CI run and will then merge this.
This pull request does a number of things.
assert_xydata()
, addressing issue #101assert_xydata()
for claritytest_correct_title()
to test_base_titles_captions.py, addressing issue #115assert_xydata()
to test_base_data.py, addressing issue #114