Skip to content

Commit

Permalink
info about md readme
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
bernt-matthias and nsoranzo committed Oct 26, 2023
1 parent 81a40d8 commit 14671db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion planemo/shed_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,11 @@ def lint_readme(realized_repository, lint_ctx):
# TODO: filter on TYPE and make this a warning if
# unrestricted repository - need to update iuc standards
# first though.
lint_ctx.info("No README found skipping.")
readme_md = os.path.join(path, "README.md")
if os.path.exists(readme_md):
lint_ctx.info("Found README in Markdown format, which is not rendered by the Tool Shed, skipping")
else:
lint_ctx.info("No README found, skipping.")
return

if readme_found.endswith(".rst"):
Expand Down

0 comments on commit 14671db

Please sign in to comment.