Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gitlab/v4/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def display(self, d: Union[str, Dict[str, Any]], **kwargs: Any) -> None:

print(yaml.safe_dump(d, default_flow_style=False))
except ImportError:
exit(
sys.exit(
"PyYaml is not installed.\n"
"Install it with `pip install PyYaml` "
"to use the yaml output feature"
Expand All @@ -415,7 +415,7 @@ def display_list(
)
)
except ImportError:
exit(
sys.exit(
"PyYaml is not installed.\n"
"Install it with `pip install PyYaml` "
"to use the yaml output feature"
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ disable = [
"attribute-defined-outside-init",
"broad-except",
"consider-using-generator",
"consider-using-sys-exit",
"cyclic-import",
"duplicate-code",
"fixme",
Expand Down