Skip to content

Commit 94d8c07

Browse files
bluetechblueyed
authored andcommitted
Remove a couple of redundant commas
Mypy complains about this once the function is typed: src/_pytest/main.py:85: error: "_addoption" of "OptionGroup" does not return a value src/_pytest/main.py:133: error: "addoption" of "OptionGroup" does not return a value
1 parent 6f2943c commit 94d8c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def pytest_addoption(parser):
7575
dest="maxfail",
7676
const=1,
7777
help="exit instantly on first error or failed test.",
78-
),
78+
)
7979
group._addoption(
8080
"--maxfail",
8181
metavar="num",
@@ -122,7 +122,7 @@ def pytest_addoption(parser):
122122
"--co",
123123
action="store_true",
124124
help="only collect tests, don't execute them.",
125-
),
125+
)
126126
group.addoption(
127127
"--pyargs",
128128
action="store_true",

0 commit comments

Comments
 (0)