June 21-27, 2020 in Darker: Command-line options and configuration enhancements #619
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 to Darker's configuration and command-line options. Pull request #3, which adds support for Black's
--line-length
and--skip-string-normalization
arguments, was merged after extensive discussion and refinement. This feature allows users to customize Darker's formatting behavior directly from the command line. Additionally, PR #1 introduced support for Black configuration files, enabling users to set formatting options viapyproject.toml
.The project also saw several workflow enhancements. A new
CONTRIBUTORS.rst
file was added to recognize contributors (PR #6), and contribution instructions were included in the README. The README was further updated to include a GitHub stars trend and note the deprecation of the Darken project in favor of Darker (PRs #5 and #7). On the development side, Mypy and Black checks were integrated into the pytest test run (PR #9), improving code quality assurance.Other notable changes include the addition of a
--diff
option to match Black's behavior (PR #4), which enables easier integration with tools like VS Code. A bug fix was also merged to handle git diff mode changes correctly (PR #8). These updates collectively improve Darker's functionality, usability, and development process.Beta Was this translation helpful? Give feedback.
All reactions