Late January 2022 in Darker: Addressing Black compatibility and VS Code integration #671
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 encountered and addressed compatibility issues arising from recent changes in Black, our core formatting dependency. A community member reported that Darker was incompatible with Black v22.1.0 (#264). The root cause was traced to a change in Black's
find_project_root()
function, which now returns a different type than expected by Darker. This issue affected both local installations and our GitHub Action, causing errors when attempting to locate and load configuration files.We also revisited the ongoing discussion about VS Code integration, particularly when using the
-L
/--lint
flag (#252). A community member found success with a configuration similar to one previously suggested in an earlier issue. However, it was noted that the main challenge lies in incorporating external linting tools through the-L
flag.Beta Was this translation helpful? Give feedback.
All reactions