Feb 5-11, 2023 in Darker: Stdin mode merged, linter extraction planned #699
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 marked a significant milestone with the merging of the long-awaited stdin mode feature (PR #306). This addition allows Darker to read input from stdin instead of files, using the new
--stdin-filename
command line argument. The implementation includes comprehensive test coverage and validation of command line arguments. However, using--stdin-filename
with--lint
is not yet supported and will raise aNotImplementedError
.We also made progress on the project's future direction. Discussions in issue #304 led to plans for extracting linting functionality into a separate tool, tentatively named
graylint
(issue #465). This move aims to focus Darker on its core purpose of executing code reformatters. A supporting common code library, possibly calleddarkgraylib
, is also being considered. The community brainstormed various name ideas, withgraylint
emerging as a frontrunner. These changes are planned for upcoming releases, with the complete removal of the-L
/--lint
option slated for version 2.0.0 (issue #466).Beta Was this translation helpful? Give feedback.
All reactions