Skip to content
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

Format the lib (no major code changes) and migrate to Poetry #13

Merged
merged 2 commits into from
Jun 17, 2023
Merged

Conversation

No767
Copy link
Contributor

@No767 No767 commented Jun 17, 2023

I formatted the lib to use Black (there are no code changes) so the codebase would be more consistent with others pulling in. Also migrated to using Poetry, and the biggest thing is I pinned dpy as a dev lib instead of a prod lib. A namespace check within the base __init__.py would be needed (see better-ipc's implementation of this) to ensure that we have dpy imported for any user libs.

Other than that, I finally have added a proper .gitignore file so random cache/build stuff would not be tracked, and your PyCharm idea configs are fine. Also added the testing libs that would be needed, and any new dev libs that would be useful or used.

From Noelle

No767 added 2 commits June 17, 2023 23:36
This lib is plauged with literally 10+ uses of unsafe execs. I think I need to refer to Jishaku or Sinbad or Umbra for how to safely do execs
@No767
Copy link
Contributor Author

No767 commented Jun 17, 2023

Also I'm not kidding when I had to disable Bandit. I will be very interested to see what Ruff has to offer for its results

Screenshot 2023-06-18 000414

@LilbabxJJ-1 LilbabxJJ-1 merged commit 888f3df into LilbabxJJ-1:master Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants