BobAnkh/LinuxBeginner

[enhancement] Refactor all python scripts

Opened this issue · 6 comments

Is your feature request related to a problem? Please describe

The python scripts are not using functions.

Description of the new feature/enhancement

Refactor all python scripts to use functions and do not change the funtionality.

Use funtions to wrap all the steps.

Proposed technical implementation details (optional)

Should learn pygithub and basic python modules.

Additional context

The entrypoint should have this:

def main():
if __name__ == '__main__':
    main()

Issue-Label Bot is automatically applying the label enhancement to this issue, with a confidence of 1.00. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Everything looks great! :bowtie:

Everything looks great! :bowtie:

contributor.py is extracted to be a seperate Github Action in repo add-contributors and workflow file in this repo will be soon changed.

Only auto_project.py should be refactored.

contributor.py has been extracted and implemented as a individual Github Action.

Change that script to sync file.

Still needs to refactor sync.py and auto_project.py

@Kelly510 Reply here so that I can assign you this issue