mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Ignore F401 flake8 warning (x326 / 594).
This commit is contained in:
parent
fa2ccbc081
commit
654e051e2a
@ -1,3 +1,7 @@
|
||||
# flake8: noqa
|
||||
# There's no way to ignore "F401 '...' imported but unused" warnings in this
|
||||
# module, but to preserve other warnings. So, don't check this module at all.
|
||||
|
||||
__version__ = "2.3.0"
|
||||
|
||||
# Work around to update TensorFlow's absl.logging threshold which alters the
|
||||
|
@ -1,3 +1,7 @@
|
||||
# flake8: noqa
|
||||
# There's no way to ignore "F401 '...' imported but unused" warnings in this
|
||||
# module, but to preserve other warnings. So, don't check this module at all.
|
||||
|
||||
from .metrics import is_sklearn_available
|
||||
from .processors import (
|
||||
DataProcessor,
|
||||
|
@ -1,3 +1,7 @@
|
||||
# flake8: noqa
|
||||
# There's no way to ignore "F401 '...' imported but unused" warnings in this
|
||||
# module, but to preserve other warnings. So, don't check this module at all.
|
||||
|
||||
from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
|
||||
from .squad import SquadExample, SquadFeatures, SquadV1Processor, SquadV2Processor, squad_convert_examples_to_features
|
||||
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
|
||||
|
Loading…
Reference in New Issue
Block a user