Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more lint command #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

add more lint command #71

wants to merge 4 commits into from

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