February 20-26, 2022 in Darker: Enhancing GitHub Action and Exploring New Features #675
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 improving our GitHub Action functionality and exploring new features for Darker. We're considering adding syntax highlighting to the GitHub Action output to enhance readability (#263). To achieve this, we may need to implement a command-line option or environment variable to force color output, similar to Black's
--color
option or thePY_COLORS
environment variable.We've also been discussing the possibility of supporting alternative formatters, such as Blue (#251). This led to a debate on the best way to implement formatter selection, with two main options proposed: using a
--formatter
argument or separate boolean flags for each supported formatter. Additionally, we're exploring ways to format docstrings as complete chunks to prevent "reformat loops" and ensure more consistent behavior (#300).In other developments, we're considering adding information about pytest-darker to our README (#265) to increase visibility for this useful integration. We've also been discussing the implementation of a pre-commit hook to run various checks on pull requests (#311), which would streamline our contribution process and ensure code quality.
Beta Was this translation helpful? Give feedback.
All reactions