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

Refactor codebase for improved readability and maintainability #22

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

amirmalekian
Copy link

This pull request aims to refactor the existing codebase to enhance its readability and maintainability.
These improvements will make the code easier to understand, modify, and debug, ultimately leading to a more efficient development process.

…replace `self` with `cls` as the first argument of the instance method
….group(x) with m[x] for re.Match objects & datetime.today() with datetime.now(), convert for loop into list comprehension
@amirmalekian
Copy link
Author

If there is a problem, let me know and I will correct it. @SamadiPour

src/bonbast/main.py Outdated Show resolved Hide resolved
src/bonbast/main.py Outdated Show resolved Hide resolved
src/bonbast/server.py Outdated Show resolved Hide resolved
src/bonbast/server.py Outdated Show resolved Hide resolved
src/bonbast/server.py Outdated Show resolved Hide resolved
Copy link
Author

@amirmalekian amirmalekian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed changes, ready to become a merge.
@alirezaazadi @SamadiPour

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