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
7ad3fc2b
Commit
7ad3fc2b
authored
Nov 03, 2014
by
David Baumgold
Committed by
Zia Fazal
Apr 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable TODO comments in `paver quality` only
parent
7774eba8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
pavelib/quality.py
+4
-2
pylintrc
+1
-2
No files found.
pavelib/quality.py
View file @
7ad3fc2b
...
@@ -30,7 +30,9 @@ def run_pylint(options):
...
@@ -30,7 +30,9 @@ 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
=
'-E'
if
errors
else
''
flags
=
[
"--disable=fixme"
]
if
errors
:
flags
.
append
(
"--errors-only"
)
apps
=
[
system
]
apps
=
[
system
]
...
@@ -51,7 +53,7 @@ def run_pylint(options):
...
@@ -51,7 +53,7 @@ def run_pylint(options):
"{pythonpath_prefix} pylint {flags} -f parseable {apps} | "
"{pythonpath_prefix} pylint {flags} -f parseable {apps} | "
"tee {report_dir}/pylint.report"
.
format
(
"tee {report_dir}/pylint.report"
.
format
(
pythonpath_prefix
=
pythonpath_prefix
,
pythonpath_prefix
=
pythonpath_prefix
,
flags
=
flags
,
flags
=
" "
.
join
(
flags
)
,
apps
=
apps_list
,
apps
=
apps_list
,
report_dir
=
report_dir
report_dir
=
report_dir
)
)
...
...
pylintrc
View file @
7ad3fc2b
...
@@ -41,8 +41,7 @@ disable=
...
@@ -41,8 +41,7 @@ disable=
# W0142: Used * or ** magic
# W0142: Used * or ** magic
# R0921: Abstract class not referenced
# R0921: Abstract class not referenced
# R0922: Abstract class is only referenced 1 times
# R0922: Abstract class is only referenced 1 times
# W0511: TODO comments
I0011,C0301,W0141,W0142,R0921,R0922,
I0011,C0301,W0141,W0142,R0921,R0922,W0511,
# Django makes classes that trigger these
# Django makes classes that trigger these
# W0232: Class has no __init__ method
# W0232: Class has no __init__ method
...
...
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