Kyle McCormick
5557194af1
revert: BOM-2378 (B) : pyupgrade in common/lib ( #26943 )
...
Reverts #26731
The code in common/lib/capa/capa/safe_exec needs
to remain Python 3.5-compatible, since edx-sandbox
(ie codejail) is still running Python 3.5.
2021-03-10 15:01:09 -05:00
M. Zulqarnain
8e8420dd46
BOM-2378 (B) : pyupgrade in common/lib ( #26731 )
...
* refactor: pyupgrade on common/lib
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com >
2021-03-10 17:56:24 +05:00
Kyle McCormick
9aefd6f986
style: django-not-configured is not a sensible lint-amnesty value ( #26862 )
...
django-not-configured is an error raised by pylint (with
the pylint-django plugin) when it's not correctly configured.
We should not be applying lint amnesty for such a violation.
2021-03-05 08:11:58 -05:00
Aarif
cce5c9ef1a
replaced unittest assertions pytest assertions ( #26530 )
2021-02-19 12:25:51 +05:00
usamasadiq
1175838fa5
fix pep8 warnings
2021-02-08 16:08:01 +05:00
usamasadiq
bbc386752f
Applied pylint-amnesty
2021-02-04 18:52:10 +05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Jeremy Bowman
e93b3a9a31
Fix deprecated drag and drop grading BOM-774
2019-09-27 15:29:04 -04:00
Amit
0491b3a14f
INCR-170: Run python-modernize on common/lib [safe_lxml, sandbox-packages] ( #20508 )
2019-05-10 09:00:44 -04:00
cclauss
c0c935b685
Old style exceptions --> new style for Python 3
2019-02-19 13:09:23 +01:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Piotr Mitros
b7484ea7ac
Adds testability to the EIA file
2015-01-13 11:01:41 -05:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
stv
29d3e69401
Fix PEP8: W602 deprecated form of raising exception
2014-11-25 14:42:04 -05:00
stv
b215d771b7
Fix PEP8: E128 continuation line under-indented
...
for visual indent
2014-11-24 20:46:50 -05:00
stv
6763c5dd74
Fix PEP8: E126 continuation line over-indented
...
for hanging indent
2014-11-24 20:46:44 -05:00
stv
2ce5a6ceed
Fix PEP8: E125 continuation line
...
does not distinguish itself from next logical line
2014-11-24 20:46:44 -05:00
stv
500499b678
Fix PEP8: E231 missing whitespace after '[:,]'
2014-11-10 19:31:05 -08:00
Ned Batchelder
9314154ec1
Move loncapa grading helpers into the sandbox-packages directory.
2013-05-31 12:01:33 -04:00
Ned Batchelder
ce005072b0
Sandbox-installed packages will be really installed instead of -e installed.
2013-05-21 19:21:39 -04:00
Ned Batchelder
df17c0c7dd
Move symmath into capa so that it's available where needed
2013-05-06 11:39:17 -04:00
Ned Batchelder
9dbfca129c
Check functions now can only return serializable data, and 'ex' and 'got' weren't used later anyway.
2013-05-06 10:55:07 -04:00
Ned Batchelder
42eee48ec9
A few places we used an option of 'imaginaryi', which isn't a real option. Doesn't change any behavior.
2013-05-06 10:55:06 -04:00
Ned Batchelder
7c498be606
Move packages around so we can install packages into the sandbox.
2013-05-06 10:55:05 -04:00