Skip to content

Commit 6b46df1

Browse files
committed
sort import
1 parent 108caa9 commit 6b46df1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

libmultilabel/linear/preprocessor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import csv
34
import logging
45
import re
56
from array import array
@@ -12,8 +13,6 @@
1213
from sklearn.feature_extraction.text import TfidfVectorizer
1314
from sklearn.preprocessing import MultiLabelBinarizer
1415

15-
import csv
16-
1716
__all__ = ['Preprocessor']
1817

1918

libmultilabel/nn/data_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import csv
12
import gc
23
import logging
34
import warnings
@@ -13,8 +14,6 @@
1314
from torchtext.vocab import build_vocab_from_iterator, pretrained_aliases
1415
from tqdm import tqdm
1516

16-
import csv
17-
1817
transformers.logging.set_verbosity_error()
1918
warnings.simplefilter(action='ignore', category=FutureWarning)
2019

0 commit comments

Comments
 (0)