-
Notifications
You must be signed in to change notification settings - Fork 33
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
Improve makefile and pre-commit #56
Improve makefile and pre-commit #56
Conversation
- Add install, format, lint, and clean targets to the Makefile to automate various operations - Execute the install target to perform all project setup operations at once, preventing forgotten pre-commit installations - Modify pre-commit lint/format to reference the local repository and execute lint and format as defined in the Makefile - Modify HTML coverage report output process to clean up the directory beforehand - Set the 'all' target as the default for the make command, enabling simultaneous execution of format/lint/test
Add `log_format` to enhance log readability
- Simplify development environment setup steps in CONTRIBUTING.md and add a warning about pre-commit configuration - Unify the method for installing dependencies and activating the virtual environment in README.md using `make install`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! The development environment needed to be simplified, the make install
command is wonderful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much more simple for potential contributors, nice!
send_email_docker: | ||
docker compose exec flask poetry run python src/send_email.py | ||
|
||
.PHONY: clean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good addition
|
||
.PHONY: install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This install target is great
@ryansurf
I have improved the Makefile and pre-commit configuration.
For details, please refer to the commit message a81f423.
Additionally, I've set up the make install command to build the development environment with a single command, ensuring that
pre-commit install
is executed reliably(ref #54 (comment)). Along with this modification, I've also updated the content ofREADME.md
andCONTRIBUTING.md
.1a8d4bd
I kindly request your review.