April 14-21, 2024 in Darker: Path handling fixes and release 2.1.1 #726
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 saw significant improvements in Darker's path handling and a new release. We fixed an issue with relative paths in Git subdirectories when using hash symmetric differences (Issue #522), which was successfully reproduced and understood. The fix, implemented in PR #584, improves path handling in various Git-related functions, ensuring correct behavior even when running from directories other than the repository root.
Release 2.1.1
We released Darker 2.1.1, which includes the path handling fixes along with other improvements. The new version deprecates
skip_string_normalization
andskip_magic_trailing_comma
Black configuration options in the[tool.darker]
section, preparing for their removal in Darker 3.0. We also fixed badge links in the README and improved compatibility with the new Black extension for VSCode by allowing a dash as the single source filename when using the--stdout
option.Other development
Ongoing discussions and issues include exploring the use of Dependabot for updating dependencies and GitHub Action versions (Issue #341), considering testing with Black's
--preview
option for early warnings about style changes (Issue #457), and improving documentation with Git diagrams to illustrate the--revision
argument variations (Issue #326). We also updated our contributor list to acknowledge recent contributions to the project (PR #567).Beta Was this translation helpful? Give feedback.
All reactions