mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
formatting
This commit is contained in:
parent
34986c7bfd
commit
6bbd816569
|
@ -53,6 +53,7 @@ def test_build_dependencies(en_vocab):
|
||||||
assert (lib+v) == (lib+req_v) # if fail: pyproject.toml & requirements.txt have conflicting versions
|
assert (lib+v) == (lib+req_v) # if fail: pyproject.toml & requirements.txt have conflicting versions
|
||||||
toml_keys.add(lib)
|
toml_keys.add(lib)
|
||||||
|
|
||||||
|
|
||||||
def _parse_req(line):
|
def _parse_req(line):
|
||||||
lib = re.match(r"^[a-z0-9\-]*", line).group(0)
|
lib = re.match(r"^[a-z0-9\-]*", line).group(0)
|
||||||
v = line.replace(lib, "").strip()
|
v = line.replace(lib, "").strip()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user