August 6-13, 2023 in Darker: Bugfix for .gitignore usage and community discussions #713
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 addressed an important issue related to the usage of
.gitignore
files. A bugfix was merged (PR #515) to ensure that Black properly respects.gitignore
when called by Darker. This resolves a long-standing problem where ignored files and directories were still being processed, potentially causing errors in certain scenarios (Issue #490). The fix involves passing an empty dictionary instead ofNone
to Black'sgen_python_files()
function, enabling.gitignore
usage.We also engaged in community discussions to clarify usage and improve user experience. In response to a question about the
--revision
flag (Discussion #513), we provided guidance on the correct syntax and considered potential documentation improvements. Additionally, we continued the conversation on file and directory exclusion (Discussion #323), which led to the identification and resolution of the.gitignore
issue mentioned earlier.Beta Was this translation helpful? Give feedback.
All reactions