-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README and pre-commit config #415
Conversation
Codecov Report
@@ Coverage Diff @@
## main #415 +/- ##
=======================================
Coverage 92.88% 92.88%
=======================================
Files 223 222 -1
Lines 17450 17420 -30
=======================================
- Hits 16208 16181 -27
+ Misses 1242 1239 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
The new hook tests/visualization/helpers_test_estimation_table.py does not match pattern "test_.*\.py" We can either rewrite (this would mean adding the three functions defined in |
Yes, I prefer the rewrite as well. Can you do it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
In this PR I added estimagics monthly download numbers as a badge to our README. I further went through our pre-commit hooks and looked for new ones. One new hook that stands out is refurbed. It proposes ways to replace code sections with more pythonic versions; however, it is not ready yet. It is too slow, sometimes proposes wrong things and ignoring arguments does not work well with pre-commit. My recommendation is to use the tool via the console once in a while and adopt some of the proposed changes but not integrate it into our pre-commit hook suite.
Changes
I recommend looking at the
.pre-commit-config.yaml
changes in split view. I deleted no hooks but added{pyupgrade, name-tests-test, check-toml, forbid-submodules}
.Tasks