Skip to content

Commit

Permalink
Fix "F403", # from python_terraform import * used; unable to detect…
Browse files Browse the repository at this point in the history
… undefined names (#1424)

Signed-off-by: Jiri Daněk <[email protected]>
  • Loading branch information
jiridanek authored May 14, 2024
1 parent 0b6dfa9 commit 50c1fed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ods_ci/utils/scripts/terraform/openstack/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil
import sys

from python_terraform import *
from python_terraform import IsFlagged, IsNotFlagged, Terraform

dir_path = os.path.dirname(os.path.abspath(__file__))
sys.path.append(dir_path + "/../../")
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ ignore = [
# TODO(jdanek)
"E402", # Module level import not at top of file
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
"F403", # `from python_terraform import *` used; unable to detect undefined names
"F405", # `IsNotFlagged` may be undefined, or defined from star imports
"RET507", # Unnecessary `else` after `continue` statement
"RET508", # Unnecessary `elif` after `break` statement
Expand Down

0 comments on commit 50c1fed

Please sign in to comment.