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
9902dcb1
Commit
9902dcb1
authored
Nov 04, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable FIXME errors on `paver run_quality`
Not on `paver run_pylint`
parent
58fd0918
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
pavelib/quality.py
+7
-4
No files found.
pavelib/quality.py
View file @
9902dcb1
...
@@ -30,7 +30,7 @@ def run_pylint(options):
...
@@ -30,7 +30,7 @@ def run_pylint(options):
# This makes the folder if it doesn't already exist.
# This makes the folder if it doesn't already exist.
report_dir
=
(
Env
.
REPORT_DIR
/
system
)
.
makedirs_p
()
report_dir
=
(
Env
.
REPORT_DIR
/
system
)
.
makedirs_p
()
flags
=
[
"--disable=fixme"
]
flags
=
[]
if
errors
:
if
errors
:
flags
.
append
(
"--errors-only"
)
flags
.
append
(
"--errors-only"
)
...
@@ -180,12 +180,15 @@ def run_quality(options):
...
@@ -180,12 +180,15 @@ def run_quality(options):
try
:
try
:
sh
(
sh
(
"{pythonpath_prefix} diff-quality --violations=pylint {pylint_reports} {percentage_string} "
"{pythonpath_prefix} diff-quality --violations=pylint "
"--html-report {dquality_dir}/diff_quality_pylint.html"
.
format
(
"{pylint_reports} {percentage_string} "
"--html-report {dquality_dir}/diff_quality_pylint.html "
"--options='{pylint_options}'"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
pythonpath_prefix
=
pythonpath_prefix
,
pylint_reports
=
pylint_reports
,
pylint_reports
=
pylint_reports
,
percentage_string
=
percentage_string
,
percentage_string
=
percentage_string
,
dquality_dir
=
dquality_dir
dquality_dir
=
dquality_dir
,
pylint_options
=
"--disable=fixme"
,
)
)
)
)
except
BuildFailure
,
error_message
:
except
BuildFailure
,
error_message
:
...
...
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