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
b8c16d5e
Commit
b8c16d5e
authored
Nov 30, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/pylint: disable=E1120/pylint: disable=no-value-for-parameter/
parent
19f1daca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
cms/envs/bok_choy.py
+3
-3
common/test/acceptance/tests/helpers.py
+1
-1
lms/djangoapps/dashboard/sysadmin_urls.py
+1
-1
lms/envs/bok_choy.py
+2
-2
No files found.
cms/envs/bok_choy.py
View file @
b8c16d5e
...
...
@@ -13,7 +13,7 @@ from path import path
# This is a convenience for ensuring (a) that we can consistently find the files
# and (b) that the files are the same in Jenkins as in local dev.
os
.
environ
[
'SERVICE_VARIANT'
]
=
'bok_choy'
os
.
environ
[
'CONFIG_ROOT'
]
=
path
(
__file__
)
.
abspath
()
.
dirname
()
# pylint: disable=
E1120
os
.
environ
[
'CONFIG_ROOT'
]
=
path
(
__file__
)
.
abspath
()
.
dirname
()
# pylint: disable=
no-value-for-parameter
from
.aws
import
*
# pylint: disable=W0401, W0614
...
...
@@ -23,7 +23,7 @@ from .aws import * # pylint: disable=W0401, W0614
INSTALLED_APPS
+=
(
'django_extensions'
,)
# Redirect to the test_root folder within the repo
TEST_ROOT
=
CONFIG_ROOT
.
dirname
()
.
dirname
()
/
"test_root"
# pylint: disable=
E1120
TEST_ROOT
=
CONFIG_ROOT
.
dirname
()
.
dirname
()
/
"test_root"
# pylint: disable=
no-value-for-parameter
GITHUB_REPO_ROOT
=
(
TEST_ROOT
/
"data"
)
.
abspath
()
LOG_DIR
=
(
TEST_ROOT
/
"log"
)
.
abspath
()
...
...
@@ -31,7 +31,7 @@ LOG_DIR = (TEST_ROOT / "log").abspath()
update_module_store_settings
(
MODULESTORE
,
module_store_options
=
{
'fs_root'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
# pylint: disable=
E1120
'fs_root'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
# pylint: disable=
no-value-for-parameter
},
xml_store_options
=
{
'data_dir'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
...
...
common/test/acceptance/tests/helpers.py
View file @
b8c16d5e
...
...
@@ -69,7 +69,7 @@ def load_data_str(rel_path):
Load a file from the "data" directory as a string.
`rel_path` is the path relative to the data directory.
"""
full_path
=
path
(
__file__
)
.
abspath
()
.
dirname
()
/
"data"
/
rel_path
# pylint: disable=
E1120
full_path
=
path
(
__file__
)
.
abspath
()
.
dirname
()
/
"data"
/
rel_path
# pylint: disable=
no-value-for-parameter
with
open
(
full_path
)
as
data_file
:
return
data_file
.
read
()
...
...
lms/djangoapps/dashboard/sysadmin_urls.py
View file @
b8c16d5e
"""
Urls for sysadmin dashboard feature
"""
# pylint: disable=
E1120
# pylint: disable=
no-value-for-parameter
from
django.conf.urls
import
patterns
,
url
...
...
lms/envs/bok_choy.py
View file @
b8c16d5e
...
...
@@ -6,7 +6,7 @@ import os
from
path
import
path
from
tempfile
import
mkdtemp
CONFIG_ROOT
=
path
(
__file__
)
.
abspath
()
.
dirname
()
# pylint: disable=
E1120
CONFIG_ROOT
=
path
(
__file__
)
.
abspath
()
.
dirname
()
# pylint: disable=
no-value-for-parameter
TEST_ROOT
=
CONFIG_ROOT
.
dirname
()
.
dirname
()
/
"test_root"
########################## Prod-like settings ###################################
...
...
@@ -34,7 +34,7 @@ LOG_DIR = (TEST_ROOT / "log").abspath()
update_module_store_settings
(
MODULESTORE
,
module_store_options
=
{
'fs_root'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
# pylint: disable=
E1120
'fs_root'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
# pylint: disable=
no-value-for-parameter
},
xml_store_options
=
{
'data_dir'
:
(
TEST_ROOT
/
"data"
)
.
abspath
(),
...
...
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