Skip to content
Snippets Groups Projects
Unverified Commit 308c152c authored by Jawayria's avatar Jawayria Committed by GitHub
Browse files

Merge pull request #26326 from edx/bom-2312

pylint-amnesty on common/lib
parents b17e6964 12065a30
No related merge requests found
"""Code run by pylint before running any tests."""
"""Code run by pylint before running any tests.""" # lint-amnesty, pylint: disable=django-not-configured
# Patch the xml libs before anything else.
......@@ -13,7 +13,7 @@ defuse_xml_libs()
@pytest.fixture(autouse=True)
def no_webpack_loader(monkeypatch):
def no_webpack_loader(monkeypatch): # lint-amnesty, pylint: disable=missing-function-docstring
monkeypatch.setattr(
"webpack_loader.templatetags.webpack_loader.render_bundle",
lambda entry, extension=None, config='DEFAULT', attrs='': ''
......
[pytest]
DJANGO_SETTINGS_MODULE = openedx.tests.settings
addopts = --nomigrations --reuse-db --durations=20 --json-report --json-report-omit keywords streams collectors log traceback tests --json-report-file=none
addopts = --nomigrations --reuse-db --durations=20 --json-report --json-report-omit keywords streams collectors log traceback tests --json-report-file=none # lint-amnesty, pylint: disable=syntax-error
# Enable default handling for all warnings, including those that are ignored by default;
# but hide rate-limit warnings (because we deliberately don't throttle test user logins)
# and field_data deprecation warnings (because fixing them requires a major low-priority refactoring)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment