From 94ad79c0edc92fecf932d864d60c11721e435f8c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:00:19 +0000 Subject: [PATCH] style: pre-commit fixes --- src/decaylanguage/dec/dec.py | 2 +- tests/data/defs-aliases-chargeconj.dec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decaylanguage/dec/dec.py b/src/decaylanguage/dec/dec.py index 59888303..66a3767a 100644 --- a/src/decaylanguage/dec/dec.py +++ b/src/decaylanguage/dec/dec.py @@ -47,11 +47,11 @@ from pathlib import Path from typing import Any, Callable, Iterable +from hepunits import GeV from lark import Lark, Token, Transformer, Tree, Visitor from lark.lexer import TerminalDef from particle import Particle from particle.converters import PDG2EvtGenNameMap -from hepunits import GeV from .. import data from .._compat.typing import Self diff --git a/tests/data/defs-aliases-chargeconj.dec b/tests/data/defs-aliases-chargeconj.dec index 9acd9922..cb850f95 100644 --- a/tests/data/defs-aliases-chargeconj.dec +++ b/tests/data/defs-aliases-chargeconj.dec @@ -288,7 +288,7 @@ IncludeDecayFactor rho0 yes Alias MyRho0 rho0 Particle MyRho0 0.77 # -# Redefine one of the mass or width of a particle (not an alias, as in the cases above) +# Redefine one of the mass or width of a particle (not an alias, as in the cases above) # Unlike above, the width is taken from the particle since no alias is present Particle chi_c0 3.42