Commit Graph

28 Commits

Author SHA1 Message Date
judithabk6 05476a1d38
TST Add test for documentation of the classes_ attribute (#16277)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2020-01-31 14:12:43 +01:00
Guillaume Lemaitre a5542e9490 BUG fix pip3 ubuntu update by suffixing file (#15928) 2019-12-20 11:11:20 -05:00
Thomas J Fan f447dbcc1f MNT Uses pep562 to import private methods (#15431) 2019-11-04 10:08:31 +01:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan bb3b3f9261 MNT Make modules private in feature_extraction (#15321) 2019-10-25 16:41:13 -04:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Antonio Gutierrez 8681ece373 ENH Fix unfriendly error message for documentation checks (#11967)
Previously error messages for mismatches parameters on function/method
signatures and docstrings were not explicit or user-friendly. This
changes provides a more explicit error message and in addition notifies
the relation of missing/mismatching parameters from signature to
docstring and from docstring to signature.
2019-06-21 17:06:57 -07:00
Hanmin Qin 575064b8e1
MNT More clean up after we remove python < 3.5 (#13078) 2019-02-02 22:01:13 +08:00
Adrin Jalali 2bd87f6ed8 Remove python < 3.5 from CI (#12746) 2018-12-14 10:53:12 +01:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Joel Nothman d0e99db0a2 TST don't test utils.fixes docstrings (#12576) 2018-11-13 16:25:11 +01:00
Roman Yurchak b91cbda20d [MRG] MNT Re-enable PyPy CI (#12039) 2018-09-18 23:09:07 +02:00
Nicolas Hug 72b2ed9ee1 DOC Added docstring checks for dataset module (#11407) 2018-07-24 10:57:13 +10:00
Nicolas Hug 6d15840432 DOC Fixed doc issues for utils module (#11445) 2018-07-22 15:23:11 +10:00
Ronan Lamy 5592a2eda9 [MRG] PyPy support for all but a couple of estimators (#11010) 2018-07-20 14:39:53 +10:00
Nicolas Hug 813d7de9b4 DOC Added docstring checks for feature_selection, kernel_approximation and neighbors modules (#11421) 2018-07-20 08:24:39 +10:00
Olivier Grisel b30e1cd4d0 Ignore DeprecationWarning in test_docstring_parameters caused by numpydoc on Python 3.7 2018-07-18 00:38:11 +02:00
Nicolas Hug 671fe79a5d [MRG] Added docstring checks for ensemble module (#11418)
* Added docstring checks for ensemble module
2018-07-17 17:02:43 +02:00
Nicolas Hug e860fd2d12 DOC parameters for gaussian_process and linear_model modules (#11415) 2018-07-15 16:06:05 +10:00
Nicolas Hug 175bedbba1 DOC Fixed doc issues for decomposition and feature_extraction modules (#11413) 2018-07-04 21:34:55 +08:00
Nicolas Hug 69e10b53a6 DOC Added docstring checks for manifold, metrics and discriminant analysis modules (#11416) 2018-07-04 09:52:48 +08:00
Nicolas Hug 357c05ce80 DOC/TST Docstring checks for svm and covariance modules (#11405) 2018-07-03 12:32:52 +10:00
Andreas Mueller 958a7cd769 add "docstring error" to docstring error message for context (#9651) 2017-08-31 00:06:46 +03:00
Joel Nothman 00c0f7b47c FIX Insert missing comma 2017-08-02 12:33:58 +10:00
Andreas Mueller 030f8b21f1 [MRG+1] add docstring tests to a travis entry that actually runs tests (#9363)
* add docstring tests to a travis entry that actually runs tests

* show skipped tests

* better test skipping messages

* use path in walk_packages so we can run the tests from anywhere.
Also try to do better tests for private packages.

* Ensure all submodule classes and functions are tested

* Reverse the for loop nesting to avoid copying

* skip abstract methods, skip setup.configure, skip a lot more that I don't want to fix.

* unused import

* move neighbors up from deprecated to just not covered.
2017-08-02 08:33:17 +10:00
Clement Joudet d830c90c9b [MRG+1] Docstring parameters improvements for cross_decomposition and discriminant_analysis (#9392)
* Fixing cross_decomposition docstring parameters

* Fixing discriminant analysis docstring parameters

* Fixing indentation and improving error message

* Fixing docstring inconsistency

* Fixing capitalised parameter

* Removing semantics from type specification

* Moving attributes to parameters

* Fixing typo

* Fixing syntax for pep8
2017-07-20 09:01:11 +10:00
(Venkat) Raghav, Rajagopalan b6f8865b0a [MRG + 1 (rv) + 1 (alex) + 1] Add a check to test the docstring params and their order (#9206)
* add automatic test of docstrings for function / method signatures using numpydoc
2017-07-11 18:42:10 +02:00