March 21 - April 3, 2021 in Darker: Line Endings Fixed, Pre-commit Integration Progresses #641
akaihola
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This period saw significant improvements in Darker's cross-platform compatibility and continued efforts to enhance its integration with pre-commit hooks. We addressed a critical issue related to line endings (#115) that was causing false positives in git diffs on Windows systems. The fix, implemented in #117, ensures that Darker now preserves the original line endings and file encoding, improving usability across different operating systems.
Our ongoing work on pre-commit integration progressed, with further discussions on the behavior of Darker when used with pre-commit hooks (#113). We explored potential solutions to make Darker more compatible with different pre-commit execution contexts, including a fallback mechanism to run against HEAD when pre-commit environment variables are not set. This approach aims to provide a more intuitive experience for users while maintaining flexibility for advanced use cases.
In other developments, we continued exploring the creation of a Conda package for Darker (#114), with initial work focused on the Conda repositories side. We also made minor documentation improvements, including updates to the Vim integration instructions (#96).
Beta Was this translation helpful? Give feedback.
All reactions