SkunkBooth icon indicating copy to clipboard operation
SkunkBooth copied to clipboard

Clean up main.py

Open Davidy22 opened this issue 3 years ago • 13 comments

main.py has become a bit of a dumping ground, clean it up a little bit by moving what should be moved out into other files.

Davidy22 avatar Aug 04 '21 10:08 Davidy22

Hey I want to fix this issue im new to github contributor and have good knowledge of python and can you give some context to it

Arnab1181412 avatar Aug 04 '21 12:08 Arnab1181412

yeah I can see, it is a bit mess in there, I can help solving it, assign it to me, I will make a PR as soon as I can.

rashidkalwar avatar Aug 04 '21 13:08 rashidkalwar

Oh whoops, github scrolled me to the bottom so I only saw rashid before I assigned. Well, there's another similar ticket so I can assign that one to arnab

Davidy22 avatar Aug 05 '21 04:08 Davidy22

hey @Davidy22 I made some changes and then made a pull request but I saw in the post commit their were some spacing and indentation issues, I checked and fixed all, still facing errors, please have a look where am I messing wrong.

rashidkalwar avatar Aug 05 '21 18:08 rashidkalwar

sorry for all that mess with commits

rashidkalwar avatar Aug 05 '21 18:08 rashidkalwar

You can run pre-commit install on the top level directory to install hooks that'll check your code on your machine and tell you what lines need checking.

Davidy22 avatar Aug 05 '21 20:08 Davidy22

@Davidy22 just closed the last PR, and made a new one this time looks great, please have a look and let me know.

rashidkalwar avatar Aug 06 '21 12:08 rashidkalwar

@Davidy22 I am having a hard time understanding it and honestly I don't know what can mess wrong, since you have the access to make changes to my Pull Request, please modifying it so it doesn't crash anything.

rashidkalwar avatar Aug 07 '21 04:08 rashidkalwar

I can take a look later after I get some stuff I wanted to clear done, but this should just be a matter of passing a reference to the buffer into the function.

Davidy22 avatar Aug 07 '21 12:08 Davidy22

Still busy with my stuff but it seems like rashid's having trouble with this, I'll assign both of you to this since I think github hasn't pinged arnab for the other ticket I mentioned him in, you can try fix up rashid's attempt or start from scratch.

Davidy22 avatar Aug 10 '21 13:08 Davidy22

Unassigning the two of you since it doesn't seem like this is going to get done.

Davidy22 avatar Oct 09 '21 15:10 Davidy22

main.py has become a bit of a dumping ground, clean it up a little bit by moving what should be moved out into other files.

Hey. since no one is doing anything about it, I want a chance to do some clearing. It will be my first commit after quite a while.

Thank you.

bhanu0002 avatar Oct 27 '21 16:10 bhanu0002

Sure, make the PR and I'll check it to make sure it works.

Davidy22 avatar Oct 28 '21 02:10 Davidy22