September 20 - October 10, 2020 in Darker: Refining revision handling and VS Code integration #631
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 our community diving deep into Darker's handling of Git revisions and its integration with VS Code. We addressed user feedback and explored ways to enhance functionality while maintaining simplicity.
A significant discussion emerged around issue #79, focusing on how Darker compares changes in feature branches to the main branch. We debated various options for improving the
--revision
argument to better handle comparisons between branches, especially when dealing with uncommitted changes and the staging area. The community showed a preference for making Darker's behavior more intuitive for local development, with proposals like defaulting to comparing against the working tree instead of HEAD when using--revision
. This discussion highlighted our commitment to balancing Git conventions with user-friendly behavior.We also made progress on improving Darker's integration with VS Code, addressing issue #67. Community members reported partial success with Darker in VS Code, noting that it worked when opening files within a folder but not when opening files directly. We explored potential causes, such as differences in path handling between Darker and Black, and discussed possible solutions. Our project lead, @akaihola, proposed testing changes to Darker's diff output format to match Black's more closely, demonstrating our proactive approach to solving user-reported issues.
These discussions showcase our community's dedication to refining Darker's functionality and usability. As we continue to evolve the tool, we're carefully considering how to implement improvements that cater to various use cases while maintaining Darker's core simplicity and efficiency.
Beta Was this translation helpful? Give feedback.
All reactions