-
Notifications
You must be signed in to change notification settings - Fork 21
Apply docformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications made
#272
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
Conversation
@@ -80,7 +79,8 @@ def wsinterp(x, xp, fp, left=None, right=None): | |||
|
|||
|
|||
def nsinterp(xp, fp, qmin=0, qmax=25, left=None, right=None): | |||
"""One-dimensional Whittaker-Shannon interpolation onto the Nyquist-Shannon grid. | |||
"""One-dimensional Whittaker-Shannon interpolation onto the Nyquist-Shannon |
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.
nice - it automatically makes the first line within a certain line length.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #272 +/- ##
=======================================
Coverage 98.68% 98.68%
=======================================
Files 8 8
Lines 379 379
=======================================
Hits 374 374
Misses 5 5
|
@@ -10,7 +9,7 @@ | |||
|
|||
|
|||
def test_loadData_default(datafile): | |||
"""check loadData() with default options""" | |||
"""Check loadData() with default options.""" |
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.
Nice - automatic start with cap letter
@sbillinge I think it's super useful.. I could add this to our cookiecutting standard if you find it useful too. |
docformatter
in pre-commit
, no manual modifications madedocformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications made
Yes, will wait for the user config docstrings to be merged first. |
docformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications madedocformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications made
@sbillinge ready for review - resolved the conflict |
docformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications madedocformatter
in pre-commit
for PEP 257 docstring auto format, no manual modifications made
Just ran
pre-commit
only - I think it's quite useful