Skip to content

Commit

Permalink
Updates import path of recipe_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
schuylermartin45 committed Oct 18, 2023
1 parent 43ae76e commit 551f8b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion anaconda_linter/lint/check_build_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
import re
from pathlib import Path
from typing import Any
from percy.render.recipe_parser import RecipeParser, SelectorConflictMode

from percy.parser.recipe_parser import RecipeParser, SelectorConflictMode

from .. import utils as _utils
from . import INFO, WARNING, LintCheck
Expand Down Expand Up @@ -996,6 +997,7 @@ def _add_git_selector(parser: RecipeParser) -> None:
if not path.startswith("/requirements/"):
continue
parser.add_selector(path, "[not win]", SelectorConflictMode.AND)

return self.recipe.patch_with_parser(_add_git_selector)


Expand Down

0 comments on commit 551f8b7

Please sign in to comment.