Closed
Bug 1822982
Opened 2 years ago
Closed 2 years ago
[wpt-sync] Sync PR 39049 - Fix MathML Python code to conform to the PEP 8 style guide
Categories
(Core :: MathML, task, P4)
Core
MathML
Tracking
()
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39049 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39049
Details from upstream follow.
Frédéric Wang <fwang@igalia.com> wrote:
Fix MathML Python code to conform to the PEP 8 style guide
This commit fixes PEP 8 errors reported by
check-webkit-style
script:ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/largeop.py:59: continuation line under-indented for hanging indent [pep8/E121] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:75: expected 2 blank lines, found 1 [pep8/E302] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:103: missing whitespace around operator [pep8/E225] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/mathvariant-transforms.py:176: expected 2 blank lines after class or function definition, found 1 [pep8/E305] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:28: at least two spaces before inline comment [pep8/E261] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:29: at least two spaces before inline comment [pep8/E261] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy-centered-on-baseline.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:28: at least two spaces before inline comment [pep8/E261] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:29: at least two spaces before inline comment [pep8/E261] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/stretchy.py:31: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174: expected 2 blank lines, found 1 [pep8/E302] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:174: unexpected spaces around keyword / parameter equals [pep8/E251] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189: missing whitespace around arithmetic operator [pep8/E226] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:189: missing whitespace around arithmetic operator [pep8/E226] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:195: expected 2 blank lines, found 1 [pep8/E302] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:200: the backslash is redundant between brackets [pep8/E502] [5] ERROR: LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/mathfont.py:206: the backslash is redundant between brackets [pep8/E502] [5]
Assignee | ||
Updated•2 years ago
|
Component: web-platform-tests → MathML
Product: Testing → Core
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a765daf20e49
[wpt PR 39049] - Fix MathML Python code to conform to the PEP 8 style guide, a=testonly
Assignee | ||
Comment 4•2 years ago
|
||
Test result changes from PR not available.
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•