X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2ddea293a88919650266472186620a98a4a8bb37..1f7f6de4aba4e1e42cb2f947204f8256f7370cb0:/src/black/__init__.py?ds=sidebyside diff --git a/src/black/__init__.py b/src/black/__init__.py index 7d7ddbe..39d1296 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -630,7 +630,7 @@ def get_sources( using_default_exclude = exclude is None exclude = re_compile_maybe_verbose(DEFAULT_EXCLUDES) if exclude is None else exclude - gitignore: Optional[PathSpec] = None + gitignore: Optional[Dict[Path, PathSpec]] = None root_gitignore = get_gitignore(root) for s in src: