mattibo

Results 2 comments of mattibo

After a litte bit of investigation: A read only `FieldPanel` has no `field` key inside the context: https://github.com/wagtail/wagtail/blob/fd08d209be121b7761f618393c2a490768a03b24/wagtail/admin/panels/field_panel.py#L331-L342 The variable `contentpath` from the `formattedfield` tag is empty: https://github.com/wagtail/wagtail/blob/366a2a48c81f3c6283b01e7e8398e998e0bd454b/wagtail/admin/templatetags/wagtailadmin_tags.py#L1205 Therefore the...

Hi @jsh9, thank you for you answer. The option `--check-return-types` is turned on by default and not what i asked for. A little example: ```python def function_a(parameter_1: int) -> list[int]:...