Loading src/black/__init__.py +1 −1 Changes for src/black/__init__.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ def supports_feature(target_versions: Set[TargetVersion], feature: Feature) -> b return all(feature in VERSION_TO_FEATURES[version] for version in target_versions) def find_pyproject_toml(path_search_start: str) -> Optional[str]: def find_pyproject_toml(path_search_start: Iterable[str]) -> Optional[str]: """Find the absolute filepath to a pyproject.toml if it exists""" path_project_root = find_project_root(path_search_start) path_pyproject_toml = path_project_root / "pyproject.toml" Loading Loading
src/black/__init__.py +1 −1 Changes for src/black/__init__.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ def supports_feature(target_versions: Set[TargetVersion], feature: Feature) -> b return all(feature in VERSION_TO_FEATURES[version] for version in target_versions) def find_pyproject_toml(path_search_start: str) -> Optional[str]: def find_pyproject_toml(path_search_start: Iterable[str]) -> Optional[str]: """Find the absolute filepath to a pyproject.toml if it exists""" path_project_root = find_project_root(path_search_start) path_pyproject_toml = path_project_root / "pyproject.toml" Loading