Early February 2022 in Darker: Compatibility Fixes and GitHub Action Improvements #672
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 month, we addressed several issues to improve Darker's compatibility and functionality. A significant change in Black v22.1.0 led to incompatibility with Darker (#264). The root cause was traced to Black's
find_project_root()
function now returning a different type than expected. This affected both local installations and our GitHub Action, causing errors when locating configuration files. We're working on a fix in #270 to resolve this issue.We also made progress on enhancing our GitHub Action. An issue was reported regarding the action checking against the HEAD commit, resulting in no diff (#260). We're exploring solutions to improve diff comparison for push and pull request events. Additionally, we're looking into adding syntax highlighting to the GitHub Action output to improve readability (#263). On the integration front, we're considering adding information about pytest-darker to our README (#265), enhancing our documentation for users.
Lastly, we addressed a minor issue with the
--stdout
flag adding an extra newline to the output (#250). We're reviewing this behavior to ensure consistent formatting across different usage scenarios.Beta Was this translation helpful? Give feedback.
All reactions