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
Fix #247: autosummary: Add autosummary_generate_option to overwrite old stub file #6422
Conversation
5b50c8a
to
29f5d6f
Compare
Codecov Report
@@ Coverage Diff @@
## master #6422 +/- ##
==========================================
+ Coverage 84.34% 84.36% +0.01%
==========================================
Files 264 263 -1
Lines 40208 40211 +3
Branches 5914 5913 -1
==========================================
+ Hits 33913 33922 +9
+ Misses 4990 4987 -3
+ Partials 1305 1302 -3
Continue to review full report at Codecov.
|
29f5d6f
to
860ada4
Compare
860ada4
to
0e69076
Compare
0e69076
to
c02aaf9
Compare
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.
+1 for autosummary_generate_overwrite
.
LGTM!
…verwrite old stub file
c02aaf9
to
4af90fc
Compare
Feature or Bugfix
Purpose
autosummary_generate_option
to skip, warn or overwrite for existing stub files.warning
by default. But it introduces a little breaking change. So this only adds config variables. And I will change the default settings towarning
in 3.0.