Skip to content

Commit

Permalink
refactor: removed pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Talha-Rizwan committed Nov 25, 2023
1 parent 49b152a commit d6ef1ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion openedx_cmi5_xblock/openedx_cmi5_xblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
CMI5XML_FILENAME = 'cmi5.xml'


def _(text): return text
def _(text):
return text


@XBlock.wants('i18n')
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ whitelist_externals =
deps =
-r{toxinidir}/requirements/quality.txt
commands =
pylint openedx_cmi5_xblock test_utils manage.py --disable=E1136,E0401
pylint openedx_cmi5_xblock test_utils manage.py --disable=E1136,E0401,E1101,W0718,W0612,R1729,W0201,W0707,W0107,E0013
pycodestyle openedx_cmi5_xblock manage.py
pydocstyle openedx_cmi5_xblock manage.py
isort --check-only --diff test_utils openedx_cmi5_xblock manage.py
Expand Down

0 comments on commit d6ef1ce

Please sign in to comment.