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
297dfd9718
Applied pylint amnesty
2021-02-04 19:14:40 +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
Hammad Ahmad Waqas
63d7b7d6fa
applying filter to remove dangerous html content before rendering in
...
course_about page on course overview field
2019-06-21 16:06:26 +05:00
aliciaerwin
140fb1394e
INCR-166 Run python-modernize on openedx/core/djangolib ( #20473 )
...
* INCR-166 Run python-modernize on openedx/core/djangolib
* INCR-166 disabled harmless errors and added docstring
2019-05-09 13:59:48 -04:00
Adeel Khan
b497210f17
strip_all_tags_but_br_filter would return HTML safe string.
...
Now returning HTML safe string to template instead
of just bleaching string for br tags.
LEARNER-3930
2018-01-23 17:15:33 +05:00
Adeel Khan
5773001f75
Fix certificate's course title for xss tags injection.
...
This fix would enable course author to selectively add
basic html tags to course title, while removing any
other injected tags that could execute javascript.
LEARNER-3491
2017-12-18 14:08:22 +05:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Robert Raposa
7223ee9316
Fix import order for HTML, Text.
2016-05-23 08:47:08 -04:00
Robert Raposa
60d11bf2fd
Fix Python false positives with AST.
...
- Use AST to parse Python.
- Refactor Mako to use Python linting.
- Add optional verbose script argument.
- Skip tests.py files when linting.
2016-05-03 15:17:09 -04:00
Robert Raposa
8e1e4a4715
Use markup HTML helper with Text
...
TNL-4160
2016-03-04 10:44:41 -05:00
Robert Raposa
29fe2c7b0c
Move markup helpers to djangolib
2016-02-05 02:42:43 -05:00