Skip to content

Commit

Permalink
[CodeStyle][task 17] enable Ruff F811 rule in python/paddle/base (P…
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooo-create authored Sep 16, 2023
1 parent 9c3e187 commit 948b484
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ ignore = [
"PLR1722",
"UP028",
"C403",
"F811",
"UP034",
"B011",
"C405",
Expand Down
1 change: 0 additions & 1 deletion python/paddle/base/dygraph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import warnings
from ..framework import _get_paddle_place
import paddle
import warnings

__all__ = [
'no_grad',
Expand Down
1 change: 0 additions & 1 deletion python/paddle/base/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
from .reader import *
from . import core
from paddle.utils import deprecated
from paddle.base.framework import static_only

__all__ = reader.__all__

Expand Down
2 changes: 1 addition & 1 deletion python/paddle/base/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
)
from .unique_name import UniqueNameGenerator
from .framework import _get_paddle_place, _get_paddle_place_list
from paddle.base.framework import _set_expected_place, _current_expected_place
from paddle.base.framework import _set_expected_place
import logging
import warnings

Expand Down

0 comments on commit 948b484

Please sign in to comment.