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
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
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 plugin uses
re.search()with excluded/included paths configuration extracted frompyproject.tomlsettings.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.pyor/file.pyfails to exclude it on Windows platform.