Skip to content

Lint only realized tools during shed linting.#628

Merged
jmchilton merged 1 commit intogalaxyproject:masterfrom
jmchilton:shed_lint_tools
Feb 6, 2017
Merged

Lint only realized tools during shed linting.#628
jmchilton merged 1 commit intogalaxyproject:masterfrom
jmchilton:shed_lint_tools

Conversation

@jmchilton
Copy link
Member

Prevents each tool for being linted for every resolved repository and fixes #564.

Sorry about that.

Prevents each tool for being linted for every resolved repository and fixes galaxyproject#564.

Sorry about that.
@jmchilton jmchilton merged commit abf8838 into galaxyproject:master Feb 6, 2017

def lint_tool_dependencies_urls(path, lint_ctx):
def lint_tool_dependencies_urls(realized_repository, lint_ctx):
path = realized_repository.real_path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had broken planemo:

  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/planemo/shed_lint.py", line 200, in lint_tool_dependencies_urls
    path = realized_repository.real_path
AttributeError: 'str' object has no attribute 'real_path'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No test coverage for --urls it would seem - sorry about that @bgruening.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for not fixing it myself, busy with the training here

jmchilton added a commit that referenced this pull request Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shed_lint --tools of a suite lints the same tools multiple times

2 participants