Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 27, 2021
1 parent 1a56def commit 0a00274
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion weblate/checks/icu.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,13 @@ def check_bad_submessage(self, result, name, data, src_data, flags):
bad = set()

# We also want to check individual select choices.
if src_data and "select" in data["types"] and "select" in src_data["types"] and "choices" in data and "choices" in src_data:
if (
src_data
and "select" in data["types"]
and "select" in src_data["types"]
and "choices" in data
and "choices" in src_data
):
choices = data["choices"]
src_choices = src_data["choices"]

Expand Down

0 comments on commit 0a00274

Please sign in to comment.