Skip to content

Commit

Permalink
Add consider-using-in check (#3880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruchip16 authored Apr 20, 2023
1 parent 02c7f68 commit 3867004
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ disable = [
"broad-except",
"consider-merging-isinstance",
# We will clean this up in a dedicated refactoring commit
"consider-using-in",
"dangerous-default-value",
"duplicate-code",
"fixme",
Expand Down
2 changes: 1 addition & 1 deletion src/molecule/command/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def list(ctx, scenario_name, format): # pragma: no cover
statuses.extend(base.execute_subcommand(scenario.config, subcommand))

headers = [text.title(name) for name in Status._fields]
if format == "simple" or format == "plain":
if format in ["simple", "plain"]:
table_format = format # "simple"

if format == "plain":
Expand Down

0 comments on commit 3867004

Please sign in to comment.