Add Pylint builds to Sublime project
This commit is contained in:
parent
003661cc5b
commit
011c8be97c
|
@ -255,6 +255,27 @@
|
|||
"shell_cmd": "CARLA_BUILD_NO_COLOR=true make clean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CARLA - Pylint all",
|
||||
"working_dir": "${project_path}/..",
|
||||
"file_regex": "^([^\n:]*):(-?[0-9]+):?(-?[0-9]+)?:? (.*)$",
|
||||
"syntax": "Packages/Makefile/Make Output.sublime-syntax",
|
||||
"linux":
|
||||
{
|
||||
"shell_cmd": "shopt -s globstar; pylint -rn --msg-template='{path}:{line}:{column}: {msg_id}: {msg}' --disable=R,C --rcfile=PythonAPI/.pylintrc PythonAPI/**/*.py"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CARLA - Pylint this file",
|
||||
"selector": "source.python",
|
||||
"working_dir": "${project_path}/..",
|
||||
"file_regex": "^([^\n:]*):([0-9]+):?([0-9]+)?:? (.*)$",
|
||||
"syntax": "Packages/Makefile/Make Output.sublime-syntax",
|
||||
"linux":
|
||||
{
|
||||
"shell_cmd": "pylint -rn --msg-template='{path}:{line}:{column}: {msg_id}: {msg}' --disable=R,C --rcfile=PythonAPI/.pylintrc ${file}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CARLA - Prettify this file",
|
||||
"working_dir": "${project_path}/..",
|
||||
|
|
Loading…
Reference in New Issue