Bump black to 26.5.0
The binutils project now uses black version 26.5.0 for code formatting.
The project’s pre-commit configuration was updated to use black version 26.5.0. This ensures that all code contributions are formatted using the latest version of the black code formatter, maintaining a consistent code style across the project. No changes in formatting were reported after running “pre-commit autoupdate”.
In Details
The .pre-commit-config.yaml file specifies the black version used for code formatting. This update ensures that all developers are using the same version of black, preventing inconsistencies in code style. This affects the pre-commit hook, which automatically formats code before commits are made. search_context result should explain black and pre-commit.
For Context
Black is a code formatter that automatically formats Python code to adhere to a consistent style. Pre-commit is a tool that runs checks on code before it is committed to a repository, ensuring code quality and consistency. This update to the black version used by the pre-commit tool in the binutils project ensures that all code contributions are formatted consistently, improving code readability and maintainability.