This is a new XBlock that presents a random subset of its children. As of this commit, the block can only be added as an Advanced component. For Sumac, we plan to enable it as part of the Libraries Relaunch Beta, under the name "Problem Bank (Beta)" The block does not care if its children are from V1 library, V2 library, or the course itself. It shares the randomization logic with LegacyLibraryContentBlock. It is also fully backwards-compatible with LegacyLibraryContentBlock. So, once V1 libraries are migrated to V2 libraries (after Teak), we eventually could point the `library_content` entry point at ItemBankBlock. Part of: https://github.com/openedx/frontend-app-authoring/issues/1385
67 lines
1.8 KiB
INI
67 lines
1.8 KiB
INI
[mypy]
|
|
follow_imports = silent
|
|
ignore_missing_imports = True
|
|
allow_untyped_globals = True
|
|
plugins =
|
|
mypy_django_plugin.main,
|
|
mypy_drf_plugin.main
|
|
files =
|
|
cms/lib/xblock/upstream_sync.py,
|
|
cms/djangoapps/contentstore/rest_api/v2/views/downstreams.py,
|
|
openedx/core/djangoapps/content/learning_sequences,
|
|
openedx/core/djangoapps/content_staging,
|
|
openedx/core/djangoapps/content_libraries,
|
|
openedx/core/djangoapps/xblock,
|
|
openedx/core/types,
|
|
openedx/core/djangoapps/content_tagging,
|
|
xmodule/util/keys.py,
|
|
xmodule/item_bank_block.py
|
|
|
|
[mypy.plugins.django-stubs]
|
|
# content_staging only works with CMS; others work with either, so we run mypy with CMS settings.
|
|
django_settings_module = "cms.envs.test"
|
|
|
|
# Selectively ignore packages known to be lacking type hints
|
|
[mypy-bridgekeeper.*]
|
|
ignore_missing_imports = True
|
|
[mypy-celery.*]
|
|
ignore_missing_imports = True
|
|
[mypy-celery_utils.*]
|
|
ignore_missing_imports = True
|
|
[mypy-completion.*]
|
|
ignore_missing_imports = True
|
|
[mypy-crum.*]
|
|
ignore_missing_imports = True
|
|
[mypy-ddt.*]
|
|
ignore_missing_imports = True
|
|
[mypy-edx_api_doc_tools.*]
|
|
ignore_missing_imports = True
|
|
[mypy-edx_django_utils.*]
|
|
ignore_missing_imports = True
|
|
[mypy-edx_proctoring.*]
|
|
ignore_missing_imports = True
|
|
[mypy-edx_rest_api_client.*]
|
|
ignore_missing_imports = True
|
|
[mypy-edx_rest_framework_extensions.*]
|
|
ignore_missing_imports = True
|
|
[mypy-eventtracking.*]
|
|
ignore_missing_imports = True
|
|
[mypy-fs.*]
|
|
ignore_missing_imports = True
|
|
[mypy-model_utils.*]
|
|
ignore_missing_imports = True
|
|
[mypy-openedx_events.*]
|
|
ignore_missing_imports = True
|
|
[mypy-organizations.*]
|
|
ignore_missing_imports = True
|
|
[mypy-search.*]
|
|
ignore_missing_imports = True
|
|
[mypy-rules.*]
|
|
ignore_missing_imports = True
|
|
[mypy-web_fragments.*]
|
|
ignore_missing_imports = True
|
|
[mypy-webob.*]
|
|
ignore_missing_imports = True
|
|
[mypy-xblock.*]
|
|
ignore_missing_imports = True
|