Add generate --open option

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
3 jobs for gen-open in 1 minute and 54 seconds
latest
Status Job ID Name Coverage
  Check
passed flake8 #1220067

00:01:43

failed mypy #1220068
allowed to fail

00:01:54

passed reuse #1220069

00:01:37

 
Name Stage Failure
failed
mypy Check
gidocgen/gir/parser.py:925: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:968: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "name" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "symbol_prefix" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "ctype" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/utils.py:767: error: Need type annotation for 'found_programs' (hint: "found_programs: Dict[<type>, <type>] = ...")
Found 186 errors in 4 files (checked 16 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1