gitignore only respects the root gitignore #1730
Labels
C: file collection
Related to file collection (e.g. gitignore & cache) or file discovery and all of its configuration.
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
This is fairly narrow, and would be understandable if it weren't worth fixing, but posting regardless.
Currently black only respects the root
.gitignore
to ignore files (#475). So a path like:...will still format
module.py
Describe the solution you'd like
Apply
.gitignore
rules like git doesThanks as ever for the superb library!
The text was updated successfully, but these errors were encountered: