Skip to content

Commit

Permalink
[CodeStyle][task 33] enable Ruff PLC0414 rule in python/paddle/base (P…
Browse files Browse the repository at this point in the history
  • Loading branch information
RedContritio authored and Frida-a committed Oct 14, 2023
1 parent 48b0365 commit 2d9eefa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ ignore = [
"B019", # Confirmation required
"C416",
"F821",
"PLC0414",
]

# B017
Expand Down
3 changes: 1 addition & 2 deletions python/paddle/base/backward.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
from collections.abc import Sequence

import paddle.base
from paddle.base import framework as framework
from paddle.base import program_guard
from paddle.base import framework, program_guard

from . import core, log_helper, unique_name
from .data_feeder import check_type
Expand Down

0 comments on commit 2d9eefa

Please sign in to comment.