We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All packages in this repository should conform to pep8. To enable automated testing:
<build_depend>roslint</build_depend>
find_package(catkin REQUIRED COMPONENTS roslint) ... # Lint Python modules for PEP8 compatibility file(GLOB_RECURSE ${PROJECT_NAME}_PY_SCRIPTS RELATIVE ${PROJECT_SOURCE_DIR} scripts/*) file(GLOB_RECURSE ${PROJECT_NAME}_PY_SRC RELATIVE ${PROJECT_SOURCE_DIR} src/${PROJECT_NAME}/*.py) roslint_python(${${PROJECT_NAME}_PY_SCRIPTS}) roslint_python(${${PROJECT_NAME}_PY_SRC})
catkin_make roslint_<package_name>
To automatically cut down a lot of errors:
sudo pip install autopep8 autopep8 --max-line-length 120 --in-place scripts/* autopep8 --max-line-length 120 --in-place src/<package-name>/*.py
You can also try the --aggresive for more aggresive correction. See autopep8 --help.
autopep8 --help
The text was updated successfully, but these errors were encountered:
@piyushk moving this thread to the rocon repo where everyone can refer to as it's relevant for all rocon repos.
robotics-in-concert/rocon#12
Sorry, something went wrong.
piyushk
No branches or pull requests
All packages in this repository should conform to pep8. To enable automated testing:
To automatically cut down a lot of errors:
You can also try the --aggresive for more aggresive correction. See
autopep8 --help
.The text was updated successfully, but these errors were encountered: