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
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
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
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
stv
29d3e69401
Fix PEP8: W602 deprecated form of raising exception
2014-11-25 14:42:04 -05:00
Ned Batchelder
9314154ec1
Move loncapa grading helpers into the sandbox-packages directory.
2013-05-31 12:01:33 -04:00