diff --git a/conda_smithy/lint_recipe.py b/conda_smithy/lint_recipe.py index c7e824bdb..5ebc10618 100644 --- a/conda_smithy/lint_recipe.py +++ b/conda_smithy/lint_recipe.py @@ -372,10 +372,7 @@ def lintify_meta_yaml( def _maintainer_exists(maintainer: str) -> bool: """Check if a maintainer exists on GitHub.""" - return ( - requests.get(f"https://github.com/beckermrr/{maintainer}").status_code - == 200 - ) + return requests.get(f"https://github.com/{maintainer}").status_code == 200 def run_conda_forge_specific( diff --git a/tests/test_lint_recipe.py b/tests/test_lint_recipe.py index 75c566321..b0b5491d8 100644 --- a/tests/test_lint_recipe.py +++ b/tests/test_lint_recipe.py @@ -1917,24 +1917,6 @@ def test_recipe_v1_version_with_context(self): lints, hints = linter.lintify_meta_yaml(meta, recipe_version=1) assert any(lint.startswith(expected_message) for lint in lints) - def test_examples(self): - msg = ( - "Please move the recipe out of the example dir and into its " - "own dir." - ) - lints, hints = linter.lintify_meta_yaml( - {"extra": {"recipe-maintainers": ["support"]}}, - recipe_dir="recipes/example/", - conda_forge=True, - ) - self.assertIn(msg, lints) - lints = linter.lintify_meta_yaml( - {"extra": {"recipe-maintainers": ["support"]}}, - recipe_dir="python", - conda_forge=True, - ) - self.assertNotIn(msg, lints) - def test_multiple_sources(self): lints = linter.main( os.path.join(_thisdir, "recipes", "multiple_sources")