10000 CI Remove unused env var by jeremiedbb · Pull Request #25359 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

CI Remove unused env var #25359

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

Merged

Conversation

jeremiedbb
Copy link
Member

The env var TEST_DOCSTRINGS seems to have no impact. Despite defaulting to false and only set to true in 2 jobs, the docstrings are actually tested in almost all jobs (except windows and linux docker).

What controls that is in fact addopts = --doctest-modules in setup.cfg.
I'm not sure how they are disable on windows and linux docker but it probably has to do with sklearn/conftest.py ?

Anyway, this env var is not used anywhere in the project: these are all the 4 occurences. Just to be safe I also checked that it's not an env var that pytest would use.

@jeremiedbb jeremiedbb marked this pull request as ready for review January 11, 2023 14:51
Copy link
Member
@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming CI stays green.

Copy link
Member
@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan thomasjpfan merged commit fdbe441 into scikit-learn:main Jan 11, 2023
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Jan 12, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 23, 2023
adrinjalali pushed a commit that referenced this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0