Closed iktakahiro closed 4 months ago
The recent updates focus on enhancing the Python development environment by streamlining configuration files and improving code quality practices. Key changes include transitioning to ruff
for linting and formatting, updating testing configurations to favor pytest
, and restructuring Makefile commands for simplicity. These modifications promote a consistent coding style and enhance the overall developer experience, aligning with modern tooling preferences.
File Path | Change Summary |
---|---|
.devcontainer/devcontainer.json | Updated to use charliermarsh.ruff for formatting, enabled auto-formatting on save, and streamlined settings. |
.vscode/settings.json | Removed support for Nose tests, switched default formatter to ruff , and enabled auto-formatting on save. |
Makefile | Renamed install to sync , removed update , streamlined testing and formatting commands to use ruff . |
dddpy/.../book/init.py | Reformatted import statements for improved readability. |
main.py | Updated function signatures for better readability with multi-line parameters. |
pyproject.toml | Removed black , added ruff , and introduced configuration sections for linting and formatting settings. |
🐇 In a land where code does hop,
We’ve swapped our tools and let them bop!
Withruff
to guide and format right,
Our Python dreams take joyful flight.
Clean code we write, no time to stall,
Together we code, together we thrall! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
ruff
for code linting and formatting, replacing previous tools.Bug Fixes
nosetests
configuration to streamline testing settings.Chores