template: Improve output for properties and signals

We should show the inherited properties and signals of a class even when
the class itself does not define any property or signal.

Fixes: #106
3 jobs for ebassi/issue-106 in 3 minutes and 7 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Check
passed flake8 #1488275

00:01:57

failed mypy #1488276
allowed to fail

00:02:54

passed reuse #1488277

00:03:06

 
Name Stage Failure
failed
mypy Check
gidocgen/gir/parser.py:966: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:984: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:1006: error: Argument "name" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:1006: error: Argument "symbol_prefix" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:1006: error: Argument "ctype" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:1008: error: Argument 1 to "set_version" of "GIRElement" has incompatible type "Optional[str]"; expected "str"
gidocgen/utils.py:823: error: Need type annotation for 'found_programs' (hint: "found_programs: Dict[<type>, <type>] = ...")
Found 211 errors in 3 files (checked 17 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1