-
Notifications
You must be signed in to change notification settings - Fork 52
Description
I have had issues when I have been trying to edit the project_json_capabilites.py file due to the nature that it has been coded. PyCharm really dislikes the code because it is full of stuff that the pep doesn't like:
37 warnings and 57 weak warnings!!!
overriding a builtin name!!
How is this readable?!?!?!?!?!?!? It's almost like a poem with its references that go to the left and right
Regardless of that, the methods are filled with 'potentially non-existent' attributes like self.sprite
which are not defaulted to None
, which makes code completion extremely unhelpful as these attributes are not listed, and it makes it very ugly as there are yellow underlines everywhere.
I have my own project json capabilites library called sbeditor and have a decent amount of experience with project json editing using scripts. the project_json_capabilites file is one I would really like to contribute to however these issues are making it really hard for me to edit. I may make a pr in response to this issue to address this
sorry if this seems like a rant