Skip to content

Commit

Permalink
Merge pull request #44397 from jbytheway/flake8_E713
Browse files Browse the repository at this point in the history
Enable Flake8 E713
  • Loading branch information
ZhilkinSerg authored Sep 24, 2020
2 parents a4ba258 + e4721ba commit e48dd38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ignore =
# permanently ignored
E265,
E501,
E713,
# W503 and W504 require line breaks after or before binary operators; you
# can only have one enabled
W504
2 changes: 1 addition & 1 deletion build-scripts/get_all_mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def add_mods(mods):
for e in mod_info:
if e["type"] == "MOD_INFO":
ident = e["id"]
if not ident in blacklist:
if ident not in blacklist:
all_mod_dependencies[ident] = e.get("dependencies", [])

for mod in all_mod_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions tools/json_tools/recipe_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def gen_new(path):
return None

# We need a type to discriminate
if not "type" in jo:
if "type" not in jo:
return None

# specifically, only recipes and uncrafts
Expand All @@ -30,7 +30,7 @@ def gen_new(path):
return None

# Also, make sure it has a 'result'
if not "result" in jo:
if "result" not in jo:
return None

# We don't want to change obsolete recipes
Expand Down

0 comments on commit e48dd38

Please sign in to comment.