Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Refactoring `get_doc_object` (#452)HEADmain | yuki | 2023-03-14 | 2 | -23/+23 |
| | |||||
* | Update pre-commit (#449) | Jarrod Millman | 2023-02-01 | 3 | -4/+1 |
| | | | | | * Update pre-commit * Run pre-commit on all files | ||||
* | BUG: PR06 logic to only fail when type is used standalone (#447) | Bryce Mecum | 2023-01-24 | 2 | -1/+36 |
| | | | | | | | Change PR06 logic to only fail when type is used standalone. This prevents failures for user-defined classes, e.g. Mystring Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | Bump version | Jarrod Millman | 2022-10-08 | 1 | -1/+1 |
| | |||||
* | Designate 1.5.0 releasev1.5.0 | Jarrod Millman | 2022-10-08 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-10-04 | 1 | -1/+1 |
| | |||||
* | Designate 1.5.0rc1 releasev1.5.0rc1 | Jarrod Millman | 2022-10-04 | 1 | -1/+1 |
| | |||||
* | Add cached property support (#433) | Ross Barnowski | 2022-09-28 | 2 | -1/+29 |
| | | | | | | | | | | | * TST: Add test case for cached_property. * BUG: Fix detection of cached_property attrs. Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com> * Wrap cached_property import in try/except for Python 3.7. Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com> | ||||
* | BUG: Fix returns parsing no name (#429) | Ross Barnowski | 2022-09-16 | 2 | -3/+22 |
| | | | | | | | | | * TST: Add test case. * MAINT: Adjust logic for parameter lines with : char. Adjust logic in parameter line splitting to avoid bug where Returns objects containing sphinx roles are improperly parsed. | ||||
* | ENH: Update validate.py to allow parameters with trailing underscores. (#425) | Stefanie Molin | 2022-08-25 | 2 | -1/+26 |
| | | | | | | | | | | | * Update validate.py to allow parameters with trailing underscores. * Add test to ensure that escaping trailing underscores in parameters is accounted for. * Update test_validate.py * Fix spacing in test case. * Add parameters_with_trailing_underscores to test_good_functions() | ||||
* | Remove numpydoc_use_blockquotes (#422) | Jarrod Millman | 2022-08-15 | 4 | -57/+2 |
| | | | | | | | * Remove numpydoc_use_blockquotes See https://github.com/numpy/numpydoc/pull/107 * Update docstring | ||||
* | Require sphinx>=4.2 (cleanup) (#421) | Jarrod Millman | 2022-08-09 | 1 | -2/+2 |
| | |||||
* | Require sphinx>=4.2 (#411) | Jarrod Millman | 2022-07-29 | 1 | -26/+0 |
| | |||||
* | docs: fix validation include line numbers (#418) | Jeremy Goh | 2022-07-18 | 1 | -0/+6 |
| | | | | | | | | | * docs: fix validation include line numbers * use start/end markers instead of hardcoding lineno * Add missing sentinel + explanatory comment. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | ENH: Add support for dict show_inherited_class_members (#415) | Eric Larson | 2022-07-13 | 2 | -3/+42 |
| | | | | | | | * ENH: Add support for dict show_inherited_class_members * STY: Black * TST: Add test | ||||
* | Bump version | Jarrod Millman | 2022-06-09 | 1 | -1/+1 |
| | |||||
* | Designate 1.4 releasev1.4.0 | Jarrod Millman | 2022-06-09 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-06-08 | 1 | -1/+1 |
| | |||||
* | Designate 1.4.0rc1 releasev1.4.0rc1 | Jarrod Millman | 2022-06-08 | 1 | -1/+1 |
| | |||||
* | Use node.findall if available (docutils 18.x) (#403) | Daniel McCloy | 2022-06-02 | 2 | -7/+33 |
| | | | | | | | | | | | | | | | | | | * use node.findall if available (docutils 18.x) * fix test_reference * keep test_reference backwards-compatible * Add comments about when triage becomes unnecessary/obsolete Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com> * whitespace * fix docutils version as noted in docstring Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com> Co-authored-by: Eric Larson <larson.eric.d@gmail.com> | ||||
* | Run black formatter | Jarrod Millman | 2022-05-07 | 16 | -885/+1049 |
| | |||||
* | Bump version | Jarrod Millman | 2022-04-30 | 1 | -1/+1 |
| | |||||
* | Designate 1.3.1 releasev1.3.1 | Jarrod Millman | 2022-04-30 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-04-30 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-04-29 | 1 | -1/+1 |
| | |||||
* | Designate 1.3 releasev1.3.0 | Jarrod Millman | 2022-04-29 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-04-25 | 1 | -1/+1 |
| | |||||
* | Designate 1.3rc1 releasev1.3rc1 | Jarrod Millman | 2022-04-25 | 1 | -1/+1 |
| | |||||
* | Require sphinx>3 (#385) | Jarrod Millman | 2022-04-25 | 1 | -2/+2 |
| | |||||
* | Update tests + coverage config to rm warnings. (#383) | Ross Barnowski | 2022-04-18 | 1 | -1/+2 |
| | | | | | | | Replace deprecated pytest behavior with suggested warnings.catch_warnings. Remove include from coverage configuration as it is ignored when source is set. | ||||
* | MAINT: Dont import for version (#382) | Eric Larson | 2022-04-14 | 2 | -1/+2 |
| | | | | | | | | | * MAINT: Dont import for version * FIX: Sp * FIX: Add * STY: PEP | ||||
* | Runtime verification of sphinx and jinja2 versions (#381) | Ross Barnowski | 2022-04-13 | 1 | -0/+25 |
| | | | | | | | * Add runtime sphinx/jinja version checker. * Remove jinja2 pin. * modify CI to account for removed pin. | ||||
* | Add pre-commit hook / linter (#374) | Jarrod Millman | 2022-04-05 | 6 | -13/+10 |
| | | | | | | | * Add pre-commit hook / linter * Run linter * Fix GH workflow | ||||
* | Cleanup cruft (#371) | Jarrod Millman | 2022-03-30 | 1 | -8/+1 |
| | |||||
* | Remove deprecated numpydoc_edit_link (#372) | Jarrod Millman | 2022-03-30 | 2 | -12/+0 |
| | | | Deprecated in 2017 | ||||
* | Bump version | Jarrod Millman | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Designate 1.2.1 releasev1.2.1 | Jarrod Millman | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Use isgeneratorfunction to avoid overgenerating YD01 (#368) | Joel Nothman | 2022-03-16 | 1 | -1/+5 |
| | | | Fixes #365 | ||||
* | Fix AttributeError in underline length check (#363) | Ross Barnowski | 2022-01-26 | 2 | -1/+33 |
| | | | | | | | | | | | | | | | | | * Add test for bad behavior. Fix test. * Add test for bad behavior. * Improve object name introspection Co-authored-by: Eric Larson <larson.eric.d@gmail.com> * Improve test specificity for name introspection Co-authored-by: Eric Larson <larson.eric.d@gmail.com> Co-authored-by: Eric Larson <larson.eric.d@gmail.com> | ||||
* | Bump version | Jarrod Millman | 2022-01-24 | 1 | -1/+1 |
| | |||||
* | Designate 1.2 releasev1.2.0numpydoc-1.2 | Jarrod Millman | 2022-01-24 | 1 | -1/+1 |
| | |||||
* | Bump version | Jarrod Millman | 2022-01-20 | 1 | -1/+1 |
| | |||||
* | Designate 1.2rc1 releasenumpydoc-1.2rc1 | Jarrod Millman | 2022-01-20 | 1 | -1/+1 |
| | |||||
* | Use fstrings (#353) | Jarrod Millman | 2022-01-10 | 6 | -41/+38 |
| | | | Convert string formatting to f-strings with flynt | ||||
* | Require sphinx >= 1.8 (#352) | Jarrod Millman | 2022-01-10 | 3 | -11/+4 |
| | |||||
* | Fix typos found by codespell (#343) | Dimitri Papadopoulos Orfanos | 2022-01-09 | 1 | -4/+4 |
| | |||||
* | Fix validation bug when parameter type is set of options. (#347) | Ross Barnowski | 2022-01-07 | 2 | -0/+27 |
| | | | | | * Add test case. * Fix validation error when param_type is set of options. | ||||
* | Escape newline in docstring. (#345) | Matthias Bussonnier | 2021-12-27 | 1 | -1/+1 |
| | | | Otherwise `'.` is seen as the second parameter. | ||||
* | Avoid mutable default arguments (#342) | Dimitri Papadopoulos Orfanos | 2021-12-16 | 4 | -12/+30 |
| | | | | | | | While they are not always an actual bug, they are certainly a Python anti-pattern and possible the source of future bugs. In at least one case, the default mutable argument `config` is actually modified later on by the function. | ||||
* | Correctly validate parameters under the "Other Parameters" section (#337) | dcbr | 2021-11-05 | 2 | -13/+53 |
| | | | | | | | | | * Fix invalid "PR01" error when parameter is specified in "Other Parameters" section. * Fix 'foo' docstring in doc/example.py * Change "PR03" (wrong parameters order) validation test * Revert "PR03" changes. |