Repository navigation
MAINT: statespace cleanup, alphabetically - #5779
jbrockmendel wants to merge 3 commits into
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5779 +/- ##
==========================================
+ Coverage 82.3% 82.31% +<.01%
==========================================
Files 593 593
Lines 93728 93761 +33
Branches 10356 10356
==========================================
+ Hits 77146 77179 +33
Misses 14185 14185
Partials 2397 2397
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #5779 +/- ##
==========================================
+ Coverage 82.3% 82.31% +<.01%
==========================================
Files 593 593
Lines 93728 93761 +33
Branches 10356 10356
==========================================
+ Hits 77146 77179 +33
Misses 14185 14185
Partials 2397 2397
Continue to review full report at Codecov.
|
|
@bashtage additional failure mode |
|
TBH I don't really see the point of switching existing assert_ to assert or assert_equal to assert A == B. It creates a lot of churn and there is effectively 0 gain since NumPy will never drop these functions. I'm more positive about pytest.raises since this produces more natural function calls. |
|
I didn't count, but many of the asserts are for |
|
@jbrockmendel sorry about the delay, but TBH you make it somewhat difficult to consider whether or not to accept some of these PRs because you mix things like easy-to-commit pep8 improvements with opinion-based code changes like using the I'm undecided here. |
|
You do you buddy. I just wanted to get this up so it doesn’t rot during my next leave of absence. |
|
Just so you know where I'm coming from:
Since you don't seem to be in a compromising mood, we'll close this for now. |
|
Totally happy to compromise, will put together flake8-only version. Out of curiosity, any idea why the |
|
in test_mlemodel.test_score_analytic_ar1 approx_fd_centered is defined but never used. im going to make the opinionated edit and decide it was intended to be part of the assertion in the following line |
@ChadFulton this is the second of three statespace branches that have been sitting ready to go for a while, then I'll stop creating more work for you.