Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOC: Fix typos and cosmetic issues | Martin Michlmayr | 2020-05-17 | 1 | -1/+1 |
| | |||||
* | BLD: Add :doc: to whitelisted roles in refguide_check. | Ross Barnowski | 2020-05-05 | 1 | -1/+1 |
| | | | | | | The refguide_check (which currently runs as part of the CI) fails on :doc: roles in the documentation. Added :doc: to the set of whitelisted role names as it is a valid role in sphinx. | ||||
* | DOC: fix remaining doc files for refguide_check (#15720) | Pierre de Buyl | 2020-03-26 | 1 | -0/+3 |
| | | | | | * DOC: skip f2py fortran and arrays.nditer cython tests for refguide_check * DOC: fix formatting of doc tests and improper use of nditer | ||||
* | convert shebang from python to python3 (#15687) | Changqing Li | 2020-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||||
* | Merge pull request #12646 from shoyer/refguide-check-exceptions | Matti Picus | 2020-02-28 | 1 | -1/+1 |
|\ | | | | | TST: check exception details in refguide_check.py | ||||
| * | TST: check exception details in refguide_check.py | Stephan Hoyer | 2019-01-01 | 1 | -1/+1 |
| | | | | | | | | xref GH-12548 | ||||
* | | Merge pull request #15465 from mwtoews/imports | Sebastian Berg | 2020-02-07 | 1 | -1/+0 |
|\ \ | | | | | | | MAINT: cleanup unused imports; avoid redefinition of imports | ||||
| * | | MAINT: cleanup unused imports; avoid redefinition of imports | Mike Taves | 2020-02-06 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811) | ||||
* | | | TST: Fix missing output in refguide-check | Seth Troisi | 2020-02-05 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #15430 from sethtroisi/refguide_warning | Matti Picus | 2020-02-03 | 1 | -46/+32 |
|\ \ | | | | | | | MAINT: Use contextmanager in _run_doctests | ||||
| * | | DEV: More contextmanager in _run_doctests | Seth Troisi | 2020-01-24 | 1 | -43/+33 |
| | | | |||||
| * | | DEV: Use contextmanager in _run_doctests | Seth Troisi | 2020-01-24 | 1 | -43/+39 |
| | | | |||||
* | | | Merge pull request #15464 from sethtroisi/refguide_dup_line | Matti Picus | 2020-01-29 | 1 | -2/+0 |
|\ \ \ | | | | | | | | | MAINT: Cleanup duplicate line in refguide_check | ||||
| * | | | MAINT: Cleanup duplicate line in refguide_check | Seth Troisi | 2020-01-29 | 1 | -2/+0 |
| | | | | |||||
* | | | | Merge pull request #15417 from sethtroisi/python2_easy | Matti Picus | 2020-01-29 | 1 | -6/+0 |
|\ \ \ \ | |/ / / |/| | | | MAINT: Cleanup references to python2 | ||||
| * | | | MAINT: Python2 Cleanups | Seth Troisi | 2020-01-28 | 1 | -6/+0 |
| |/ / | |||||
* | | | DOC: Update refguide_check note on how to skip code | Seth Troisi | 2020-01-28 | 1 | -0/+8 |
|/ / | |||||
* | | [MAINT] Cleanup python2 sys.version checks | Seth Troisi | 2020-01-20 | 1 | -13/+9 |
| | | |||||
* | | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | ||||
* | | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -2/+0 |
| | | | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | | Implemented review feedbacks #14961 | Sanjeev Kumar | 2019-12-05 | 1 | -12/+23 |
| | | |||||
* | | Added documentation in methods | Sanjeev Kumar | 2019-12-05 | 1 | -23/+207 |
| | | |||||
* | | Fix typos | Brian Wignall | 2019-11-25 | 1 | -2/+2 |
| | | |||||
* | | MAINT: remove deprecation warnings | mattip | 2019-11-22 | 1 | -4/+4 |
| | | |||||
* | | MAINT: fixes from review | mattip | 2019-11-18 | 1 | -2/+2 |
| | | |||||
* | | MAINT: fixes from review | mattip | 2019-11-16 | 1 | -6/+17 |
| | | |||||
* | | MAINT: pep8, remove checks of *.py files from --rst check | mattip | 2019-11-01 | 1 | -9/+10 |
| | | |||||
* | | MAINT: fixes from review | mattip | 2019-10-31 | 1 | -12/+27 |
| | | |||||
* | | TST: changes from review | mattip | 2019-10-17 | 1 | -27/+21 |
| | | |||||
* | | TST: run refguide-check on rst files in doc/* | mattip | 2019-10-17 | 1 | -70/+148 |
| | | |||||
* | | DOC: Change random to uninitialized and unpredictable in empty and ↵ | Kexuan Sun | 2019-06-15 | 1 | -1/+2 |
| | | | | | | | | | | | | empty_like (#13771) * DOC: Change "random" to "uninitialized" in doctests | ||||
* | | DOC: fixes from review | mattip | 2019-02-28 | 1 | -1/+1 |
| | | |||||
* | | TEST: activate doctests on doc.structured_arrays, fix for pure doc module | mattip | 2019-01-14 | 1 | -1/+5 |
| | | |||||
* | | ENH: add "max difference" messages to np.testing.assert_array_equal (#12591) | Stephan Hoyer | 2019-01-01 | 1 | -0/+1 |
|/ | | | | | | | | | | | | | | | | | | | | | | Example behavior: >>> x = np.array([1, 2, 3]) >>> y = np.array([1, 2, 3.0001]) >>> np.testing.assert_allclose(x, y) AssertionError: Not equal to tolerance rtol=1e-07, atol=0 Mismatch: 33.3% Max absolute difference: 0.0001 Max relative difference: 3.33322223e-05 x: array([1, 2, 3]) y: array([1. , 2. , 3.0001]) Motivation: when writing numerical algorithms, I frequently find myself experimenting to pick the right value of `atol` and `rtol` for `np.testing.assert_allclose()`. If I make the tolerance too generous, I risk missing regressions in accuracy, so I usually try to pick the smallest values for which tests pass. This change immediately reveals appropriate values to use for these parameters, so I don't need to guess and check. | ||||
* | MAINT: include recfunctions module | Tyler Reddy | 2018-12-14 | 1 | -0/+1 |
| | | | | | | | | | * added lib.recfunctions to refguide PUBLIC_SUBMODULES, as the doctests were otherwise not getting executed * fixed a failing doctest in recfunctions after above activation | ||||
* | TST, DOC: enable refguide_check | Tyler Reddy | 2018-12-14 | 1 | -0/+951 |
* ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes |