Olivier Grisel
d3429ca328
TST introducing the random_seed fixture ( #22749 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 10:41:06 +01:00
Thomas J. Fan
6f39cab2ba
DOC Use wheelhouse_uploader directly to publish to pypi ( #22234 )
2022-01-27 14:52:40 +01:00
Thomas J. Fan
7982942a15
Revert "MAINT workaround for bug in setuptools/pkg_resources ( #21676 )" ( #21723 )
...
This reverts commit a0b5e1b875 .
2021-12-09 17:18:48 +01:00
Olivier Grisel
f22ebd2548
MAINT set testpaths = sklearn for pytest in setup.cfg ( #21894 )
2021-12-07 14:33:54 +01:00
Christian Lorentzen
d09e1d7239
MRG Common Private Loss Module with tempita ( #20567 )
2021-11-26 16:45:41 +01:00
Olivier Grisel
a0b5e1b875
MAINT workaround for bug in setuptools/pkg_resources ( #21676 )
...
* MAINT workaround for bug in setuptools/pkg_resources
* Additional workakaround for CHECK_WARNINGS commandline
2021-11-15 15:24:38 +01:00
Thomas J. Fan
48e83df450
MAINT Removes short summary for most builds ( #21554 )
2021-11-06 10:06:06 +01:00
Dimitri Papadopoulos Orfanos
6edbffd8fc
MAINT Codespell configuration ( #21051 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-04 09:33:47 -04:00
Mathis Batoul
4b8cd88039
MAINT Improve source generation using `Tempita` ( #20481 )
...
Co-authored-by: Joan Massich <sik@visor.udg.edu>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-09 21:43:56 +02:00
Harutaka Kawamura
d05bd7fb1b
Use --color=yes for pytest ( #20704 )
...
Signed-off-by: harupy <hkawamura0130@gmail.com>
2021-08-08 17:01:13 +02:00
Thomas J. Fan
81dde3a6e5
STY Ensures that "flake8 ." works ( #20298 )
2021-06-18 15:46:40 +02:00
Thomas J. Fan
9a13bdfaf1
MNT Adds black config and fixes formatting before black ( #19031 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Juan Carlos Alfaro Jiménez
eaa45c86f7
DOC Update maintainers' guide to use new wheel builder system ( #18878 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-11-26 13:41:20 -05:00
Olivier Grisel
a2728ac8d4
flake8: move E402 ignore rule to setup.cfg for examples folder ( #18724 )
2020-11-01 22:31:57 +01:00
Prabakaran Kumaresshan
3c623648ca
MAINT add manifest check in circle ci config ( #18128 )
2020-09-07 13:24:26 +02:00
Roman Yurchak
ac8760d089
MNT Use mypy --allow-redefinition + config ( #18313 )
2020-08-31 19:03:38 -04:00
Jérémie du Boisberranger
9964c50f83
MNT Add asv benchmark suite ( #17026 )
2020-07-29 09:28:25 -04:00
Roman Yurchak
1c1f273d10
ENH XFAIL in common tests with estimator tags ( #16502 )
2020-02-20 22:28:54 +01:00
Olivier Grisel
d6bb321fc0
MNT Update nightly build URL and release staging config ( #16435 )
2020-02-12 16:05:13 -05:00
Thomas J Fan
2e7e06b78f
[MRG] Doctest with print change only adjusts default options for doctest ( #13991 )
2019-06-01 10:53:45 +02:00
Thomas J Fan
85440978f5
CLN Ignore maint_tools in pytest ( #13431 )
2019-03-12 01:30:17 +11:00
Nicolas Hug
b792382f44
MNT Ignore PendingDeprecationWarnings of matrix subclass with pytest ( #13076 )
2019-02-02 11:15:39 +01:00
Roman Yurchak
8068b97e1d
MNT Only checks warnings on latest depedendencies versions in CI ( #12048 )
2018-09-17 03:12:33 -07:00
Olivier Grisel
242410f7cd
MAINT make pytest collection ignore folders with Python scripts ( #12011 )
...
Some IDEs such as VS Code use the pytest command to collect all the tests of
the workspace in the background. This can cause unexpected execution of
arbitrary Python scripts in the workspace (examples, benchmarks...).
The doc folder is also ignored because it has python scripts for sphinx
along with copies of the examples.
To safely run pytest in the doc folder, we need to used the find command
to find all "*.rst" files as done in the project Makefile.
2018-09-05 17:33:06 +02:00
Andreas Mueller
8e2c2aa35d
raise DeprecationWarnings and FutureWarnings as errors ( #11570 )
...
Towards #11252 .
In the end we'd like to make these errors so we can keep this cleaner in the future.
2018-07-17 15:31:45 -05:00
Olivier Grisel
06c543f0da
MAINT cleanup setup.cfg
2018-07-15 17:42:41 +02:00
Roman Yurchak
27a804d9a8
MAINT Use -rs pytest option to show a summary of skipped tests ( #11013 )
2018-04-23 09:10:59 +10:00
Joris Van den Bossche
312f64053d
TST: display reason of skipped tests by default ( #10946 )
2018-04-11 11:00:10 +02:00
Loïc Estève
cc50b90034
MAINT: do not collect any tests in externals.
2018-01-18 10:49:33 +01:00
Loïc Estève
ddaafa6206
MAINT: do not run tests in sklearn/externals ( #10486 )
2018-01-17 15:24:57 +01:00
Loïc Estève
e7e05d844f
[MRG+1] Remove nose from CIs and documentation ( #9840 )
2017-11-16 20:20:35 +01:00
dilutedsauce
62eda82f1f
[MRG] move flake8 options from flake8_diff.sh to setup.cfg ( #10080 )
...
Also add examples/.flake8 for examples specific flake8 configuration
2017-11-14 13:26:39 +01:00
Loïc Estève
0ec6664ff1
[MRG] Make tests runnable with pytest without error ( #8246 )
...
* Make tests runnable with pytest without error.
Errors were due to pytest quirks with (deprecated) yield support.
* Add pytest build on Travis
and tweak pytest settings in setup.cfg
* Tweak comment
2017-02-20 13:08:09 +01:00
Loïc Estève
876f12359a
Do not ignore files starting with _ in nose
...
By default, files starting with _ and setup.py are ignored by nose. This
causes doctests to be skipped in _*.py modules.
2016-03-11 19:27:40 +01:00
seales
0485ada58b
General spelling fixes
2015-12-16 09:46:42 -08:00
Olivier Grisel
9825d173ee
MAINT make it possible to use wheelhouse-uploader
...
wheelhouse-uploader makes it possible to leverage our CI infrastructure
(travis and appveyor) to automate the generation of binary packages
for OSX and windows (both .exe and .whl packages).
The cloud containers that are used to store the build artifacts of the
CI workers are configured in the setup.cfg file.
More details at: https://github.com/ogrisel/wheelhouse-uploader
2014-12-29 18:48:49 +01:00
Olivier Grisel
dab017d8d5
MAINT: run tests on files with the exec bit
2014-06-02 19:45:12 +02:00
Olivier Grisel
b65e882753
typo
2013-07-28 10:37:02 +02:00
Olivier Grisel
b669f82d22
Sample compiler config for windows
2013-07-28 10:37:01 +02:00
Olivier Grisel
1e595d9591
Remove doctest-options from setup.cfg as not supported in old version of nose
2012-12-01 11:02:13 +01:00
Olivier Grisel
d454c13f9f
FIX #1417 : move nosetests configuration parameter to setup.cfg
2012-12-01 10:56:12 +01:00
Vlad Niculae
6a1f2b211f
FIX: wrong cover-package, misleading coverage as 100%
2012-05-07 16:33:04 +03:00
Fabian Pedregosa
1881139298
Do not execute test coverage by default.
...
Also add a test-coverage target in Makefile.
2010-10-14 16:32:23 +02:00
Fabian Pedregosa
bc0cfb0208
Update setup.py.
...
And set verbose=1 for nose tests.
2010-08-23 16:19:39 +02:00
Gael varoquaux
668094e12e
TEST: Re-enable external tests.
...
We do not wanted untested code shipped with the scikit.
2010-08-18 21:30:05 +02:00
Fabian Pedregosa
2c8188f25e
run all tests suite through nose.
2010-08-18 21:27:12 +02:00
Matthieu Brucher
505738de39
Fixed a typo
2010-08-19 03:26:48 +08:00
Olivier Grisel
c36e0f7461
exclude scikits.learn.external package from top level nosetests env
2010-07-31 14:52:32 +02:00
Gael varoquaux
af5d0ab792
Add a setup.cfg to specify default nosetests behavior.
2010-07-27 11:09:34 +02:00
Fabian Pedregosa
2a1b83d186
Building the modules inplace broke installation of binary modules.
...
Fix this by removing the setup.cfg file.
From: Fabian Pedregosa <fabian.pedregosa@inria.fr>
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@394 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-02-01 09:53:44 +00:00