Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3c35fbb5
Commit
3c35fbb5
authored
Mar 10, 2017
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to the parseable output-format for pylint
parent
38930188
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
pavelib/quality.py
+3
-5
No files found.
pavelib/quality.py
View file @
3c35fbb5
...
...
@@ -64,11 +64,10 @@ def find_fixme(options):
)
sh
(
"{pythonpath_prefix} pylint --disable
R,C,W,E
--enable=fixme "
"--
msg-template={msg_template}
{apps} "
"{pythonpath_prefix} pylint --disable
all
--enable=fixme "
"--
output-format=parseable
{apps} "
"| tee {report_dir}/pylint_fixme.report"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
msg_template
=
'"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"'
,
apps
=
apps_list
,
report_dir
=
report_dir
)
...
...
@@ -117,11 +116,10 @@ def run_pylint(options):
)
sh
(
"{pythonpath_prefix} pylint {flags} --
msg-template={msg_template}
{apps} | "
"{pythonpath_prefix} pylint {flags} --
output-format=parseable
{apps} | "
"tee {report_dir}/pylint.report"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
flags
=
" "
.
join
(
flags
),
msg_template
=
'"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"'
,
apps
=
apps_list
,
report_dir
=
report_dir
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment