Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants