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
90624ac4
Commit
90624ac4
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/pylint: disable=R0915/pylint: disable=too-many-statements/
parent
e15d4aea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cms/djangoapps/contentstore/git_export_utils.py
+1
-1
lms/djangoapps/dashboard/git_import.py
+1
-1
lms/djangoapps/instructor/views/api.py
+1
-1
No files found.
cms/djangoapps/contentstore/git_export_utils.py
View file @
90624ac4
...
@@ -65,7 +65,7 @@ def cmd_log(cmd, cwd):
...
@@ -65,7 +65,7 @@ def cmd_log(cmd, cwd):
def
export_to_git
(
course_id
,
repo
,
user
=
''
,
rdir
=
None
):
def
export_to_git
(
course_id
,
repo
,
user
=
''
,
rdir
=
None
):
"""Export a course to git."""
"""Export a course to git."""
# pylint: disable=
R0915
# pylint: disable=
too-many-statements
if
not
GIT_REPO_EXPORT_DIR
:
if
not
GIT_REPO_EXPORT_DIR
:
raise
GitExportError
(
GitExportError
.
NO_EXPORT_DIR
)
raise
GitExportError
(
GitExportError
.
NO_EXPORT_DIR
)
...
...
lms/djangoapps/dashboard/git_import.py
View file @
90624ac4
...
@@ -124,7 +124,7 @@ def add_repo(repo, rdir_in, branch=None):
...
@@ -124,7 +124,7 @@ def add_repo(repo, rdir_in, branch=None):
If branch is left as None, it will fetch the most recent
If branch is left as None, it will fetch the most recent
version of the current branch.
version of the current branch.
"""
"""
# pylint: disable=
R0915
# pylint: disable=
too-many-statements
# Set defaults even if it isn't defined in settings
# Set defaults even if it isn't defined in settings
mongo_db
=
{
mongo_db
=
{
...
...
lms/djangoapps/instructor/views/api.py
View file @
90624ac4
...
@@ -228,7 +228,7 @@ COUNTRY_INDEX = 3
...
@@ -228,7 +228,7 @@ COUNTRY_INDEX = 3
@ensure_csrf_cookie
@ensure_csrf_cookie
@cache_control
(
no_cache
=
True
,
no_store
=
True
,
must_revalidate
=
True
)
@cache_control
(
no_cache
=
True
,
no_store
=
True
,
must_revalidate
=
True
)
@require_level
(
'staff'
)
@require_level
(
'staff'
)
def
register_and_enroll_students
(
request
,
course_id
):
# pylint: disable=
R0915
def
register_and_enroll_students
(
request
,
course_id
):
# pylint: disable=
too-many-statements
"""
"""
Create new account and Enroll students in this course.
Create new account and Enroll students in this course.
Passing a csv file that contains a list of students.
Passing a csv file that contains a list of students.
...
...
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