-
Notifications
You must be signed in to change notification settings - Fork 343
Added __all__ to many files #1681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added __all__ to many files #1681
Conversation
…to add__all__to_all
This does it say "arcade.scene.Scene.draw:9:Unexpected indentation". I don't see anything |
Revert your changes to the docstrings in Scene. You removed a lot of empty newlines. They are there for a reason. Especially the newline between the decription text and the parameter list. There are fairly strict rules on how Also, your PR is about adding |
I don't remember touching them. One of my extensions did that or something. |
I must have some weird extension. I copy pasted it from arcade bc I messed with it, yet still wanted to commit the file. What should I do? I just deleted it for now. |
Probably just undo the changes. No need to start from scratch. We squash all the commits anyway so it's not a problem with lots of ugly ones. |
Can you just copy These space changes are so distruptive to git history. Double check that your own development branch has not diverged from arcade's development branch. |
@einarf I'll make a separate pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still extra indents in scene.py
, and there are some additional changes that may need to be made.
The linting step should have picked up those extra spaces, and we should investigate why it isn't doing that as a separate issue (#1701).
Co-authored-by: Paul <36696816+pushfoo@users.noreply.github.com>
Co-authored-by: Paul <36696816+pushfoo@users.noreply.github.com>
Co-authored-by: Paul <36696816+pushfoo@users.noreply.github.com>
…to add__all__to_all
You can probably close #1700 since it's redundant now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll follow up on some of the minor lingering style issues after we merge this.
OP has already been through a lot, including helping us discover that our ruff
config didn't have whitespace checking enabled (#1701). My guess is their editor or IDE was maintaining previous indent level rather than intelligently managing blank lines. It's an understandable difficulty for a beginner.
Lingering style issues will be fixed in a second PR
Attempts to fix #1390.
Its unlikely to be perfect yet. I expect a bunch of tests to break