[CI] Remove unused imports with Ruff to pre-commit config, only to benchmarks/docs/examples folder (#3969)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import argparse
|
||||
|
||||
import PIL.Image
|
||||
import torch
|
||||
from data_utils import save_json
|
||||
from eval_utils import (
|
||||
|
||||
@@ -5,7 +5,6 @@ import os
|
||||
import re
|
||||
|
||||
import yaml
|
||||
from datasets import concatenate_datasets, load_dataset
|
||||
|
||||
DOMAIN_CAT2SUB_CAT = {
|
||||
"Art and Design": ["Art", "Art_Theory", "Design", "Music"],
|
||||
|
||||
Reference in New Issue
Block a user