-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the
python_min
linter check robust against if-else syntax (#2154)
* Make the `python_min` linter check robust against if-else syntax 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. * refactor+doc+test: use new util function, added news item, and added tests --------- Co-authored-by: Matthew R. Becker <[email protected]> Co-authored-by: beckermr <[email protected]>
- Loading branch information
1 parent
04d862f
commit f8edc69
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* <news item> | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* Fixed a bug where the ``python_min`` hint failed on v1 recipes. (#2154) | ||
|
||
**Security:** | ||
|
||
* <news item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters