biolink / biolinkml

DEPRECATED: replaced by linkml
https://github.com/linkml/linkml
Creative Commons Zero v1.0 Universal
23 stars 12 forks source link

Update `__post_init__` signatures to match PyCharm IDE fix #198

Closed hsolbrig closed 3 years ago

hsolbrig commented 4 years ago

Currently, PyCharm is flagging our __post_init__ signatures as an error:

image

They plan to fix this via: https://intellij-support.jetbrains.com/hc/en-us/requests/2722772

But have requested that the exception take the form of the "generic" signature:

   def __post__init__(self, *args, **kwargs) -> None:
       ...

We need to update the pythongen to meet this requirement

hsolbrig commented 4 years ago

Pending an update from the JetBrains folks...