8000 Add support for CODECOV_FLAGS (#285) · sajith/codecov-python@c057a1b · GitHub
[go: up one dir, main page]

Skip to content

Commit c057a1b

Browse files
authored
Add support for CODECOV_FLAGS (codecov#285)
1 parent fd86007 commit c057a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codecov/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def main(*argv, **kwargs):
331331
"--flags",
332332
"-F",
333333
nargs="*",
334-
default=None,
334+
default=os.getenv("CODECOV_FLAGS"),
335335
help="Flag these uploaded files with custom labels",
336336
)
337337
basics.add_argument(

0 commit comments

Comments
 (0)
0