Daily arc lint --take BLACK
Differential Revision: D98889675 fbshipit-source-id: e9d0089e5abb73b9327f5453ad20fa5060b12a40
This commit is contained in:
committed by
meta-codesync[bot]
parent
29aecc4b7d
commit
bfbed072a0
@@ -243,9 +243,9 @@ def download_sav():
|
||||
def main():
|
||||
assert len(sys.argv) > 1, "You have to provide the name of the dataset"
|
||||
dataset_name = sys.argv[1]
|
||||
assert (
|
||||
dataset_name in annotation_files
|
||||
), f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
assert dataset_name in annotation_files, (
|
||||
f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
)
|
||||
|
||||
if dataset_name == "yt1b":
|
||||
download_youtube()
|
||||
|
||||
Reference in New Issue
Block a user