Skip to content

Commit

Permalink
Fix ruff problems
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocmd committed Jun 22, 2023
1 parent 6e8fc5b commit 2586f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/transformers/models/swiftformer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from ...utils import (
OptionalDependencyNotAvailable,
_LazyModule,
is_torch_available,
is_tf_available,
is_torch_available,
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@


import collections.abc
from typing import Optional, Tuple, Union, Dict

from typing import Dict, Optional, Tuple, Union

import tensorflow as tf

from ...activations_tf import get_tf_activation

from ...modeling_tf_outputs import (
TFBaseModelOutputWithNoAttention,
TFImageClassifierOutputWithNoAttention,
Expand Down

0 comments on commit 2586f4f

Please sign in to comment.