Commit 51e10028 by Martyn James

Ignore duplicate-code in pylint - it is failing on 5 common lines between the 2…

Ignore duplicate-code in pylint - it is failing on 5 common lines between the 2 XBlock components herein - better to have a common pattern than to seprate out these lines. Also use virtual display to support selenium tests in travis.
parent 403dc446
......@@ -39,7 +39,12 @@ load-plugins=
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
# I0011 locally-disabled (module-level pylint overrides)
disable=I0011,W0232
# disabling ```duplicate-code``` due to 5 lines that are the same near the top of
# both xblock files - of course these are similar because it is a core pattern to
# use - if we separated out into a separate file, we'd have the 5 lines in a separate
# file and have 2 import statements within each file to get back the stuff - pretty
# useless warning in this specific case
disable=I0011,W0232,duplicate-code
[REPORTS]
......
......@@ -3,6 +3,10 @@ language: python
python:
- "2.7"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- pip install -r requirements.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment