Skip to content

Commit 466318c

Browse files
committed
Added "int" & "float" to the argparsing type Literal
1 parent cc580b5 commit 466318c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/config/argparsing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def addini(
174174
self,
175175
name: str,
176176
help: str,
177-
type: Literal["string", "paths", "pathlist", "args", "linelist", "bool"]
177+
type: Literal["string", "paths", "pathlist", "args", "linelist", "bool", "int", "float"]
178178
| None = None,
179179
default: Any = NOT_SET,
180180
) -> None:

0 commit comments

Comments
 (0)