feat: Finalize project professionalization#6
Merged
BruinGrowly merged 2 commits intomainfrom Oct 31, 2025
Merged
Conversation
This commit completes the process of elevating the project to a production-ready standard. - **Expanded Test Coverage:** - Added new edge case tests to `tests/test_harmonizer.py` to handle empty files, files with only comments, and files with syntax errors, making the application more resilient. - **Automated Quality Checks:** - Integrated `pre-commit` with hooks for `black`, `flake8`, and `isort` to automate code formatting and linting. - Added an `.isort.cfg` to ensure compatibility between `black` and `isort`. - Applied `isort` to the entire codebase to standardize import statements. - **Updated Documentation:** - Completely revised the `README.md` to reflect the new package-based installation (`pip install .`) and the `harmonizer` command-line entry point. - Added a new "Development & Contribution" section to the `README.md` to guide future contributors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit completes the process of elevating the project to a production-ready standard.
Expanded Test Coverage:
tests/test_harmonizer.pyto handle empty files, files with only comments, and files with syntax errors, making the application more resilient.Automated Quality Checks:
pre-commitwith hooks forblack,flake8, andisortto automate code formatting and linting..isort.cfgto ensure compatibility betweenblackandisort.isortto the entire codebase to standardize import statements.Updated Documentation:
README.mdto reflect the new package-based installation (pip install .) and theharmonizercommand-line entry point.README.mdto guide future contributors.