Skip to content

Commit

Permalink
comply with RUF012
Browse files Browse the repository at this point in the history
  • Loading branch information
admorris committed Jun 28, 2023
1 parent 7031379 commit 1ba9aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decaylanguage/utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import string
from copy import copy
from typing import Any, Iterator, Pattern
from typing import Any, ClassVar, Iterator, Pattern


def iter_flatten(iterable: list[str] | tuple[str, ...]) -> Iterator[str]:
Expand Down Expand Up @@ -84,7 +84,7 @@ class DescriptorFormat:
'D*+ -> (D0 -> (K_S0 -> pi+ pi-) (pi0 -> gamma gamma)) pi+'
"""

config = {
config: ClassVar[dict[str, str]] = {
"decay_pattern": "{mother} -> {daughters}",
"sub_decay_pattern": "({mother} -> {daughters})",
}
Expand Down

0 comments on commit 1ba9aae

Please sign in to comment.