mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-23 17:56:07 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -71,7 +71,7 @@ class CompatibilityError(Exception): ...
|
|||||||
class BackwardCompatibilityError(CompatibilityError):
|
class BackwardCompatibilityError(CompatibilityError):
|
||||||
def __init__(self, repo_id: str, version: packaging.version.Version):
|
def __init__(self, repo_id: str, version: packaging.version.Version):
|
||||||
if version.major == 2 and version.minor == 1:
|
if version.major == 2 and version.minor == 1:
|
||||||
message = V30_MESSAGE.format(repo_id=repo_id, version=version)
|
message = V30_MESSAGE.format(repo_id=repo_id, version=version)
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError(
|
raise NotImplementedError(
|
||||||
"Contact the maintainer on [Discord](https://discord.com/invite/s3KuuzsPFb)."
|
"Contact the maintainer on [Discord](https://discord.com/invite/s3KuuzsPFb)."
|
||||||
|
|||||||
Reference in New Issue
Block a user