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
f9f6e096
Commit
f9f6e096
authored
May 23, 2014
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for pylint/pep8 defaults
parent
550d0543
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
pavelib/quality.py
+4
-2
No files found.
pavelib/quality.py
View file @
f9f6e096
...
@@ -32,9 +32,10 @@ def run_pylint(options):
...
@@ -32,9 +32,10 @@ def run_pylint(options):
"""
"""
Run pylint on system code
Run pylint on system code
"""
"""
system
=
getattr
(
options
,
'system'
,
'lms'
)
errors
=
getattr
(
options
,
'errors'
,
False
)
errors
=
getattr
(
options
,
'errors'
,
False
)
systems
=
getattr
(
options
,
'system'
,
'lms,cms,common'
)
.
split
(
','
)
for
system
in
systems
:
# Directory to put the pylint report in.
# Directory to put the pylint report in.
# This makes the folder if it doesn't already exist.
# This makes the folder if it doesn't already exist.
report_dir
=
get_or_make_dir
(
os
.
path
.
join
(
Env
.
REPORT_DIR
,
system
))
report_dir
=
get_or_make_dir
(
os
.
path
.
join
(
Env
.
REPORT_DIR
,
system
))
...
@@ -76,8 +77,9 @@ def run_pep8(options):
...
@@ -76,8 +77,9 @@ def run_pep8(options):
"""
"""
Run pep8 on system code
Run pep8 on system code
"""
"""
system
=
getattr
(
options
,
'system'
,
'lms
'
)
system
s
=
getattr
(
options
,
'system'
,
'lms,cms,common'
)
.
split
(
',
'
)
for
system
in
systems
:
# Directory to put the pep8 report in.
# Directory to put the pep8 report in.
# This makes the folder if it doesn't already exist.
# This makes the folder if it doesn't already exist.
report_dir
=
get_or_make_dir
(
os
.
path
.
join
(
Env
.
REPORT_DIR
,
system
))
report_dir
=
get_or_make_dir
(
os
.
path
.
join
(
Env
.
REPORT_DIR
,
system
))
...
...
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