Some of our projects attempt to exclude the same files in both tools.black and tools.ni-python-styleguide. However, the extend_exclude key has a different format for each tool: black uses a regex and ni-python-styleguide uses a comma-separated list of fnmatch patterns.
In nidaqmx-python, we tried to keep these in sync, but copying the ni-python-styleguide format to the tools.black section results in a regex that doesn't match anything.
https://github.com/ni/nidaqmx-python/blob/master/pyproject.toml#L82
Some of our projects attempt to exclude the same files in both
tools.blackandtools.ni-python-styleguide. However, theextend_excludekey has a different format for each tool:blackuses a regex andni-python-styleguideuses a comma-separated list offnmatchpatterns.In
nidaqmx-python, we tried to keep these in sync, but copying theni-python-styleguideformat to thetools.blacksection results in a regex that doesn't match anything.https://github.com/ni/nidaqmx-python/blob/master/pyproject.toml#L82