Skip to content

add more lint command#71

Open
k-okada wants to merge 4 commits intoros:masterfrom
k-okada:add_more_lint
Open

add more lint command#71
k-okada wants to merge 4 commits intoros:masterfrom
k-okada:add_more_lint

Conversation

@k-okada
Copy link

@k-okada k-okada commented Jan 24, 2020

  • add roslint_xml

    Using lxml.tostring(pretty_print) to find dirty xml files

    For similar fixes in xml, try find . -iname *.xml -exec rosrun roslint
    xmllint --fix {} ;

  • add roslint_markdown

    Using pymarkdownlint to find dirty markdown files, specially tailing end, wrong indent

    using https://github.com/jorisroovers/pymarkdownlint

  • add roslint_catkin, which runs catkin_lint

    Runs catkin_lint within catkin run_tests
    see https://github.com/fkie/catkin_lint for more info

  • add roslint_yaml function

    Runs yamllint to find dirty yaml files

    For similar fixes in YAML, try pretty-yaml
    (https://github.com/mk-fg/pretty-yaml) pip install --user pyaml
    find . -iname "*.yaml" -exec python -m pyaml -r {} ;

For similar fixes in YAML, try pretty-yaml (https://github.com/mk-fg/pretty-yaml)
pip install --user pyaml
find . -iname "*.yaml" -exec python -m pyaml -r {} \;
For similar fixes in xml, try
find . -iname *.xml -exec rosrun roslint xmllint --fix {} \;
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.

1 participant