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
6821fd40
Commit
6821fd40
authored
Dec 08, 2014
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6122 from edx/clytwynec/dont-fail-diff-quality-for-todo
Clytwynec/dont fail diff quality for todo
parents
896b1915
25d76da4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pavelib/quality.py
+1
-3
pylintrc
+3
-0
No files found.
pavelib/quality.py
View file @
6821fd40
...
@@ -195,14 +195,12 @@ def run_quality(options):
...
@@ -195,14 +195,12 @@ def run_quality(options):
sh
(
sh
(
"{pythonpath_prefix} diff-quality --violations=pylint "
"{pythonpath_prefix} diff-quality --violations=pylint "
"{pylint_reports} {percentage_string} {compare_branch_string} "
"{pylint_reports} {percentage_string} {compare_branch_string} "
"--html-report {dquality_dir}/diff_quality_pylint.html "
"--html-report {dquality_dir}/diff_quality_pylint.html "
.
format
(
"--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
,
compare_branch_string
=
compare_branch_string
,
compare_branch_string
=
compare_branch_string
,
dquality_dir
=
dquality_dir
,
dquality_dir
=
dquality_dir
,
pylint_options
=
"--disable=fixme"
,
)
)
)
)
except
BuildFailure
,
error_message
:
except
BuildFailure
,
error_message
:
...
...
pylintrc
View file @
6821fd40
...
@@ -47,6 +47,9 @@ disable=
...
@@ -47,6 +47,9 @@ disable=
# W0232: Class has no __init__ method
# W0232: Class has no __init__ method
W0232,
W0232,
# Disable 'fixme' so that quality builds don't fail due to them
W0511,
# Might use these when the code is in better shape
# Might use these when the code is in better shape
# C0302: Too many lines in module
# C0302: Too many lines in module
# R0201: Method could be a function
# R0201: Method could be a function
...
...
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