February 6-12, 2022 in Darker: Addressing Black compatibility and exploring GitHub Action improvements #673
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 resolving compatibility issues with Black and improving our GitHub Action functionality. The recent release of Black v22.1.0 caused incompatibility with Darker due to changes in Black's
find_project_root()
function (#264). This affected both local installations and our GitHub Action, leading to errors when locating configuration files. We're actively working on a fix in #270 to address this issue.We also made progress on enhancing our GitHub Action. We're exploring solutions to improve diff comparison for push and pull request events (#260), considering the use of environment variables like
GITHUB_BASE_REF
for more accurate revisions. Additionally, we discussed adding a new automated test environment that installs master/main checkouts of dependencies, particularly Black, to get early warnings of potential incompatibilities (#186).In other developments, we closed an issue related to temporary files being filtered out before checking for matching tracked files (#249), which affected VSCode integration. We also addressed a minor issue with the
--stdout
flag adding an extra newline to the output (#250), and we're reviewing this behavior to ensure consistent formatting across different usage scenarios.Beta Was this translation helpful? Give feedback.
All reactions