mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +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)
|
||||
|
||||
|
||||
def _brol(path):
|
||||
return str.encode(Path(path).read_text().replace("\r\n", "\n"))
|
||||
|
||||
|
||||
@contextmanager
|
||||
def show_validation_error(
|
||||
file_path: Optional[Union[str, Path]] = None,
|
||||
|
|
Loading…
Reference in New Issue
Block a user