8000 MNT: Deprecate other capitalization than "None" in matplotlibrc by timhoffm · Pull Request #29529 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

MNT: Deprecate other capitalization than "None" in matplotlibrc #29529

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
merged 1 commit into from
Jan 28, 2025

Conversation

timhoffm
Copy link
Member

The *_or_None validators have accepted any capitalization of the string "none" as input. This is overly permissive and will likely lead to conflicts in the future because we cannot distinguish between resolving to None and "none" which may be need for some parameters in the future.

Inspired by #29481.

@rcomer
Copy link
Member
rcomer commented Jan 27, 2025

I appear to have infiltrated your commit somehow 😕

@timhoffm
Copy link
Member Author

I appear to have infiltrated your commit somehow 😕

Not sure how this happend 😆. I've possibly messed up with --amend when creating the PR, but don't remember. If it's ok for you, I would not bother.

Copy link
Member
@story645 story645 left a comment

Choose a reason for hiding this comment

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

+- fixing the flake error

@QuLogic
Copy link
Member
QuLogic commented Jan 27, 2025

Not sure how this happend 😆. I've possibly messed up with --amend when creating the PR, but don't remember. If it's ok for you, I would not bother.

It seems like you'll have to update to fix the linting anyway, so to fix, use git commit --amend --reset-author.

The `*_or_None` validators have accepted any capitalization of the
string "none" as input. This is overly permissive and
will likely lead to conflicts in the future because we cannot
distinguish between resolving to `None` and `"none"` which may be need
for some parameters in the future.

Inspired by matplotlib#29481.
@timhoffm timhoffm force-pushed the mnt-matplotlibrc-none branch from 9225687 to 5c8c9b5 Compare January 27, 2025 23:27
@QuLogic QuLogic merged commit 743a005 into matplotlib:main Jan 28, 2025
39 of 41 checks passed
@timhoffm timhoffm deleted the mnt-matplotlibrc-none branch January 28, 2025 06:02
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.

5 participants
0