mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Auto-format code with black (#11792)
Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
parent
322b5dc1df
commit
188a7d00eb
|
@ -343,9 +343,11 @@ def _check_requirements(requirements: List[str]) -> Tuple[bool, bool]:
|
||||||
except pkg_resources.VersionConflict as vc:
|
except pkg_resources.VersionConflict as vc:
|
||||||
conflicting_pkgs_msgs.append(vc.report())
|
conflicting_pkgs_msgs.append(vc.report())
|
||||||
except Exception:
|
except Exception:
|
||||||
msg.warn(f"Unable to check requirement: {req} "
|
msg.warn(
|
||||||
"Checks are currently limited to requirement specifiers "
|
f"Unable to check requirement: {req} "
|
||||||
"(PEP 508)")
|
"Checks are currently limited to requirement specifiers "
|
||||||
|
"(PEP 508)"
|
||||||
|
)
|
||||||
|
|
||||||
if len(failed_pkgs_msgs) or len(conflicting_pkgs_msgs):
|
if len(failed_pkgs_msgs) or len(conflicting_pkgs_msgs):
|
||||||
msg.warn(
|
msg.warn(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user