Skip to content

Commit 5734d80

Browse files
committed
fix noqa errors
1 parent 398c408 commit 5734d80

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tests/test_types.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestTossup:
99

1010
tu_json = {
1111
"_id": "64046cc6de59b8af97422da5",
12-
"question": "<b>Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This </b>(*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized <i>c</i>, that is about 30 million meters per second.",
12+
"question": "<b>Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This </b>(*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized <i>c</i>, that is about 30 million meters per second.", # noqa: E501
1313
"answer": "<b><u>Speed of Light</u></b>",
1414
"category": "Science",
1515
"subcategory": "Physics",
@@ -25,7 +25,7 @@ class TestTossup:
2525
"difficulty": 3,
2626
"number": 3,
2727
"answer_sanitized": "Speed of Light",
28-
"question_sanitized": "Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This (*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized c, that is about 30 million meters per second.",
28+
"question_sanitized": "Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This (*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized c, that is about 30 million meters per second.", # noqa: E501
2929
}
3030

3131
def test_from_json(self):
@@ -50,21 +50,21 @@ class TestBonus:
5050

5151
b_json = {
5252
"_id": "673ec00f90236da031c2cedb",
53-
"leadin": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called<i> The</i> [this adjective]<i> Mercury</i>, which eventually fell under far-right leadership. For 10 points each:",
54-
"leadin_sanitized": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called The [this adjective] Mercury, which eventually fell under far-right leadership. For 10 points each:",
53+
"leadin": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called<i> The</i> [this adjective]<i> Mercury</i>, which eventually fell under far-right leadership. For 10 points each:", # noqa: E501
54+
"leadin_sanitized": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called The [this adjective] Mercury, which eventually fell under far-right leadership. For 10 points each:", # noqa: E501
5555
"parts": [
56-
"Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence “who are you talking to” is “doubly” this adjective since it forgoes “whom” and puts a preposition at the end of a sentence.",
57-
"<i> The Baltimore Sun</i> sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play<i> Inherit the Wind</i>.",
58-
"At the end of<i> Inherit the Wind</i>, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a “Belt” in the Southern United States named for this text.",
56+
"Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence “who are you talking to” is “doubly” this adjective since it forgoes “whom” and puts a preposition at the end of a sentence.", # noqa: E501
57+
"<i> The Baltimore Sun</i> sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play<i> Inherit the Wind</i>.", # noqa: E501
58+
"At the end of<i> Inherit the Wind</i>, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a “Belt” in the Southern United States named for this text.", # noqa: E501
5959
],
6060
"parts_sanitized": [
61-
'Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence "who are you talking to" is "doubly" this adjective since it forgoes "whom" and puts a preposition at the end of a sentence.',
62-
"The Baltimore Sun sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play Inherit the Wind.",
63-
'At the end of Inherit the Wind, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a "Belt" in the Southern United States named for this text.',
61+
'Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence "who are you talking to" is "doubly" this adjective since it forgoes "whom" and puts a preposition at the end of a sentence.', # noqa: E501
62+
"The Baltimore Sun sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play Inherit the Wind.", # noqa: E501
63+
'At the end of Inherit the Wind, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a "Belt" in the Southern United States named for this text.', # noqa: E501
6464
],
6565
"answers": [
66-
"<b><u>American</u></b> [accept<i> The</i> <i><b><u>American</u></b> Mercury</i> or<i> The</i> <i><b><u>American</u></b> Language</i>]",
67-
"<b><u>trial</u></b> [accept Scopes <b><u>trial</u></b> or Scopes Monkey <b><u>trial</u></b>]",
66+
"<b><u>American</u></b> [accept<i> The</i> <i><b><u>American</u></b> Mercury</i> or<i> The</i> <i><b><u>American</u></b> Language</i>]", # noqa: E501
67+
"<b><u>trial</u></b> [accept Scopes <b><u>trial</u></b> or Scopes Monkey <b><u>trial</u></b>]", # noqa: E501
6868
"the <b><u>Bible</u> </b>",
6969
],
7070
"answers_sanitized": [
@@ -83,7 +83,7 @@ class TestBonus:
8383
"difficulty": 7,
8484
"packet": {
8585
"_id": "673ec00f90236da031c2cec6",
86-
"name": "A - Claremont A, Edinburgh A, Haverford A, Georgia Tech B, Illinois C, Michigan B",
86+
"name": "A - Claremont A, Edinburgh A, Haverford A, Georgia Tech B, Illinois C, Michigan B", # noqa: E501
8787
"number": 1,
8888
},
8989
"set": {

0 commit comments

Comments
 (0)