April 24-30, 2022 in Darker: Refining CLI and improving Git integration #684
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 focused on enhancing Darker's command-line interface (CLI) and addressing issues related to Git integration. We identified a potential improvement for the
--help
output inREADME.rst
(#364), suggesting the need for an automated check to ensure synchronization between the actual CLI output and the documentation. This change would help maintain consistency and reduce manual updates.We also made progress on improving Darker's Git integration, particularly when working with repository roots. An issue was reported (#362) where Darker failed to recognize the root directory ('.') in certain Git commits. This prompted a discussion on how to handle the repository root specially, potentially always treating it as existing in any revision. These improvements aim to enhance Darker's reliability when working with different repository structures and Git workflows.
In other developments, we continued to address deprecation warnings and improve our CI setup. We decided to change our CI configuration to run Flake8 directly in its own workflow, eliminating the need for the pytest-flake8 plugin and resolving related deprecation warnings (#285). Additionally, we explored the possibility of implementing stdin support for Darker (#239), discussing potential implementations and naming conventions in line with similar tools like Black.
Beta Was this translation helpful? Give feedback.
All reactions