You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 a NotImplementedError.
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 called darkgraylib, is also being considered. The community brainstormed various name ideas, with graylint 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).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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