mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
remove brol
This commit is contained in:
parent
08a831ce83
commit
1723fb73c4
|
@ -203,10 +203,6 @@ def get_checksum(path: Union[Path, str]) -> str:
|
||||||
msg.fail(f"Can't get checksum for {path}: not a file or directory", exits=1)
|
msg.fail(f"Can't get checksum for {path}: not a file or directory", exits=1)
|
||||||
|
|
||||||
|
|
||||||
def _brol(path):
|
|
||||||
return str.encode(Path(path).read_text().replace("\r\n", "\n"))
|
|
||||||
|
|
||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
def show_validation_error(
|
def show_validation_error(
|
||||||
file_path: Optional[Union[str, Path]] = None,
|
file_path: Optional[Union[str, Path]] = None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user