Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
308c152c
Unverified
Commit
308c152c
authored
4 years ago
by
Jawayria
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #26326 from edx/bom-2312
pylint-amnesty on common/lib
parents
b17e6964
12065a30
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/lib/conftest.py
+2
-2
2 additions, 2 deletions
common/lib/conftest.py
common/lib/pytest.ini
+1
-1
1 addition, 1 deletion
common/lib/pytest.ini
with
3 additions
and
3 deletions
common/lib/conftest.py
+
2
−
2
View file @
308c152c
"""
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
=
''
:
''
...
...
This diff is collapsed.
Click to expand it.
common/lib/pytest.ini
+
1
−
1
View file @
308c152c
[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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment