Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 21, 2023
1 parent 0e8b23a commit 0d0ceef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/decaylanguage/dec/dec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,8 +1390,7 @@ def get_charge_conjugate_decays(parsed_file: Tree) -> list[str]:

try:
return sorted(
tree.children[0].value
for tree in parsed_file.find_data("cdecay")
tree.children[0].value for tree in parsed_file.find_data("cdecay")
)
except Exception as err:
raise RuntimeError(
Expand Down

0 comments on commit 0d0ceef

Please sign in to comment.