Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
6821fd40
Commit
6821fd40
authored
10 years ago
by
Christine Lytwynec
Browse files
Options
Downloads
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
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pavelib/quality.py
+1
-3
1 addition, 3 deletions
pavelib/quality.py
pylintrc
+3
-0
3 additions, 0 deletions
pylintrc
with
4 additions
and
3 deletions
pavelib/quality.py
+
1
−
3
View file @
6821fd40
...
...
@@ -195,14 +195,12 @@ def run_quality(options):
sh
(
"
{pythonpath_prefix} diff-quality --violations=pylint
"
"
{pylint_reports} {percentage_string} {compare_branch_string}
"
"
--html-report {dquality_dir}/diff_quality_pylint.html
"
"
--options=
'
{pylint_options}
'"
.
format
(
"
--html-report {dquality_dir}/diff_quality_pylint.html
"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
pylint_reports
=
pylint_reports
,
percentage_string
=
percentage_string
,
compare_branch_string
=
compare_branch_string
,
dquality_dir
=
dquality_dir
,
pylint_options
=
"
--disable=fixme
"
,
)
)
except
BuildFailure
,
error_message
:
...
...
This diff is collapsed.
Click to expand it.
pylintrc
+
3
−
0
View file @
6821fd40
...
...
@@ -47,6 +47,9 @@ disable=
# W0232: Class has no __init__ method
W0232,
# Disable 'fixme' so that quality builds don't fail due to them
W0511,
# Might use these when the code is in better shape
# C0302: Too many lines in module
# R0201: Method could be a function
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment