Skip to content

ENH: Better warning for sections. #278

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

Merged
merged 2 commits into from
Jul 14, 2020
Merged

ENH: Better warning for sections. #278

merged 2 commits into from
Jul 14, 2020

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Jul 10, 2020

  1. if the number of -/= is too short/ too long warn, Especially too
    short it won't be detected as a section.

  2. for duplicate section print the docstring to figure out where the
    problem is.

1) if the number of -/= is too short/ too long warn, Especially too
short it won't be detected as a section.

2) for duplicate section print the docstring to figure out where the
problem is.
@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2020

Codecov Report

Merging #278 into master will increase coverage by 0.26%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
+ Coverage   92.82%   93.09%   +0.26%     
==========================================
  Files           7        7              
  Lines        1255     1260       +5     
==========================================
+ Hits         1165     1173       +8     
+ Misses         90       87       -3     

@larsoner
Copy link
Collaborator

Can you update some tests?

@Carreau
Copy link
Contributor Author

Carreau commented Jul 14, 2020

Done.

@larsoner larsoner merged commit 795afa8 into numpy:master Jul 14, 2020
@larsoner
Copy link
Collaborator

Thanks @Carreau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants