Skip to content

More linting configurablity.#140

Merged
jmchilton merged 1 commit intogalaxyproject:masterfrom
jmchilton:lint_skip
Apr 24, 2015
Merged

More linting configurablity.#140
jmchilton merged 1 commit intogalaxyproject:masterfrom
jmchilton:lint_skip

Conversation

@jmchilton
Copy link
Copy Markdown
Member

Add --skip argument to lint and shed_lint to pass in modules to skip while linting - I think the common ones are going to be citations and xml_order - so that would be --skip 'citations,xml_order' for instance. (TODO: Probably worth still catching unknown top-level tags even if xml_order is disabled - so those should be split out I guess).

A default value for skip can be specified on a per-user basis by specifying a list of items in ~/.planemo.yml under a lint_skip key.

This commit also improves the display of linting so the short name is what is display - e.g. user will now see "Applying linter citations" and not "Appling linter lint_citations".

Add --skip argument to lint and shed_lint to pass in modules to skip while linting - I think the common ones are going to be citations and xml_order - so that would be --skip 'citations,xml_order' for instance. (TODO: Probably worth still catching unknown top-level tags even if xml_order is disabled - so those should be split out I guess).

A default value for skip can be specified by specifing a list of items in ``~/.planemo.yml`` under a ``lint_skip`` key.

Also improves the display of linting so the short name is what is display - e.g. user will now see "Applying linter citations" and not "Appling linter lint_citations".
jmchilton added a commit that referenced this pull request Apr 24, 2015
More linting configurablity.
@jmchilton jmchilton merged commit 59b4357 into galaxyproject:master Apr 24, 2015
@jmchilton jmchilton deleted the lint_skip branch April 24, 2015 19:59
@hexylena
Copy link
Copy Markdown
Member

A default value for skip can be specified on a per-user basis by specifying a list of items in ~/.planemo.yml under a lint_skip key.

you know, in all of those awesome changes, not one of them is rST and in the docs/ folder

:P, <3

@jmchilton
Copy link
Copy Markdown
Member Author

Yes, I will tidy things up when I work on HISTORY.rst for a 0.8.0 release.

@hexylena
Copy link
Copy Markdown
Member

Okay, just giving ya a hard time. Have a good weekend

fre. 24. apr. 2015 kl. 15.06 skrev John Chilton notifications@github.com:

Yes, I will tidy things up when I work on HISTORY.rst for a 0.8.0 release.


Reply to this email directly or view it on GitHub
#140 (comment).

@nsoranzo
Copy link
Copy Markdown
Member

Thanks a lot!

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.

3 participants