Skip to content
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

[MAINT] relax regex for warning on sanitize reorder error #3766

Merged
merged 1 commit into from Jun 19, 2023

Conversation

Remi-Gau
Copy link
Collaborator

Closes #3750

Changes proposed in this pull request:

  • relax regex for warning on sanitize reorder error to reduce chances of failures

@Remi-Gau Remi-Gau marked this pull request as ready for review June 19, 2023 13:38
Copy link
Member

@ymzayek ymzayek left a comment

Choose a reason for hiding this comment

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

LGTM thx

@Remi-Gau
Copy link
Collaborator Author

will merge when CI finishes green

@github-actions
Copy link
Contributor

github-actions bot commented Jun 19, 2023

👋 @Remi-Gau Thanks for creating a PR!

Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft.

Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.

  • PR has an interpretable title.
  • PR links to Github issue with mention Closes #XXXX (see our documentation on PR structure)
  • Code is PEP8-compliant (see our documentation on coding style)
  • Changelog or what's new entry in doc/changes/latest.rst (see our documentation on PR structure)

For new features:

  • There is at least one unit test per new function / class (see our documentation on testing)
  • The new feature is demoed in at least one relevant example.

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

We will review it as quick as possible, feel free to ping us with questions if needed.

@codecov
Copy link

codecov bot commented Jun 19, 2023

Codecov Report

Merging #3766 (13fa10a) into main (b2562d6) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3766   +/-   ##
=======================================
  Coverage   91.60%   91.60%           
=======================================
  Files         139      139           
  Lines       16591    16591           
  Branches     3244     3244           
=======================================
  Hits        15198    15198           
  Misses       1390     1390           
  Partials        3        3           
Impacted Files Coverage Δ
nilearn/plotting/matrix_plotting.py 96.59% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Remi-Gau
Copy link
Collaborator Author

Other failures are not related: merging

@Remi-Gau Remi-Gau merged commit 20fc25b into nilearn:main Jun 19, 2023
26 of 29 checks passed
@Remi-Gau Remi-Gau deleted the fix_warning branch June 19, 2023 16:08
Remi-Gau added a commit to Remi-Gau/nilearn that referenced this pull request Jun 19, 2023
Remi-Gau added a commit that referenced this pull request Jun 20, 2023
* add workflow for flynt

* configure and run flynt

* flake8

* Update .github/workflows/f_strings.yml

Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>

* Update nilearn/_utils/data_gen.py

Co-authored-by: bthirion <bertrand.thirion@inria.fr>

* pre-commit hooks auto-update (#3764)

Co-authored-by: Remi-Gau <Remi-Gau@users.noreply.github.com>

* [DOC] update changelog and git blame ignore (#3755)

* update git-blame-ignore

* update changelog

* fix

* update ignore

* fix regex escape

* flake8

* use list and not set

* simplify rev file

* rm spaces

* pragmatism wins

* rm import

* reset plotting files

* [FIX] Change error string to match scikit-learn `InvalidParameterError` message (#3763)

* Modify ValueError string

* Warning based on sklearn version

* relax regex for warning on sanitize reorder error (#3766)

---------

Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
Co-authored-by: bthirion <bertrand.thirion@inria.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Remi-Gau <Remi-Gau@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test error for order of printed argument with python 3.11
2 participants