August 29 - September 4, 2021 in Darker: Preparing for 1.3.0 Release and Addressing Configuration Issues #656
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 week, we made significant progress towards the upcoming 1.3.0 release while addressing several configuration and compatibility issues. We closed a long-standing issue regarding the handling of Black's exclude patterns (#181), which will be included in the 1.3.0 release. Users can now install the development version from the
master
branch to test this feature.We also tackled an issue related to Darker's behavior with pre-commit (#180). The discussion revealed some uncertainty about how pre-commit handles file modifications during its execution. We're investigating whether Darker can safely modify files on disk when invoked by pre-commit, as the tool appears to manage staged and unstaged changes appropriately.
In response to a reported issue with formatting new files (#182), we discovered that while Darker was displaying an error message, it was still formatting the files correctly. This output issue has been fixed in the upcoming 1.3.0 release. Additionally, we began exploring how to align Darker's behavior with Black's when handling all-whitespace files (#166), considering potential changes in Black's public API.
Beta Was this translation helpful? Give feedback.
All reactions