Skip to content

Commit

Permalink
Merge pull request #716 from conda-forge/fix-lint-again
Browse files Browse the repository at this point in the history
fix: only lint recipes
  • Loading branch information
beckermr authored Oct 2, 2024
2 parents 1522dba + 75d6622 commit 51ab2e7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions conda_forge_webservices/github_actions_integration/linting.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import time

from .utils import dedent_with_escaped_continue
Expand All @@ -12,8 +13,10 @@ def get_recipes_for_linting(gh, repo, pr_id, lints, hints):
recipes_to_lint = set(
fname
for fname in recipes_to_lint
if fname
not in ["recipes/example/meta.yaml", "recipes/example-v1/recipe.yaml"]
if (
fname
not in ["recipes/example/meta.yaml", "recipes/example-v1/recipe.yaml"]
) and os.path.basename(fname) in ["meta.yaml", "recipe.yaml"]
)
else:
recipes_to_lint = set(fnames)
Expand Down

0 comments on commit 51ab2e7

Please sign in to comment.