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

Make the python_min linter check robust against if-else syntax #2154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rgommers
Copy link

In noarch: python recipes, the thing being checked here should always have python as a string and not in an if: block, so it should be safe to skip the check. Fixes the linter failing on rattler-build recipes with conditional requirements.

Closes gh-2153

In `noarch: python` recipes, the thing being checked here should
always have `python` as a string and not in an `if:` block, so it
should be safe to skip the check. Fixes the linter failing
on rattler-build recipes with conditional requirements.
@rgommers rgommers requested a review from a team as a code owner November 21, 2024 11:30
Copy link
Member

@beckermr beckermr left a comment

Choose a reason for hiding this comment

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

This needs a news item and a test.

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.

linter fails on rattler-build recipe
2 participants