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 implies that before deciding on inclusion and exclusion, collected file paths should be normalized to / directory separators, and should begin with / as well. E.g., /src/package/file.py.
At present, an excluded path like /src/package/file.py or /file.py fails to exclude it on Windows platform.
The text was updated successfully, but these errors were encountered:
The plugin uses
re.search()
with excluded/included paths configuration extracted frompyproject.toml
settings.However, Black docs specify that:
^/
should match the beginning of path (ref)This implies that before deciding on inclusion and exclusion, collected file paths should be normalized to
/
directory separators, and should begin with/
as well. E.g.,/src/package/file.py
.At present, an excluded path like
/src/package/file.py
or/file.py
fails to exclude it on Windows platform.The text was updated successfully, but these errors were encountered: