Early September 2022 in Darker: Linter Integration Improvements and Bug Fixes #687
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 period saw significant progress in addressing linter integration issues and improving Darker's functionality. We merged a major pull request (#393) that enhances how Darker handles linter messages. This update now runs linters twice – once for the baseline and once for the current state – and displays only new messages. It also tracks unmodified code blocks that have moved due to other changes, ensuring linter messages are matched correctly even if line numbers have shifted. This improvement addresses longstanding issues (#383 and #380) and enhances Darker's ability to provide relevant linter feedback.
We also investigated a bug report (#394) where Darker failed with a TypeError on macOS Monterey 12.5.1. Upon investigation, it was discovered that the issue stemmed from running an outdated version of Darker (1.2.x) in the pre-commit environment, rather than the reported 1.5.0 version. Additionally, we closed an issue (#374) related to Flake8 output on Windows, which had been previously discussed and resolved.
Beta Was this translation helpful? Give feedback.
All reactions