diff --git a/src/particle/particle/particle.py b/src/particle/particle/particle.py index 6641fee3..e8ccd8fe 100644 --- a/src/particle/particle/particle.py +++ b/src/particle/particle/particle.py @@ -626,14 +626,14 @@ def __lt__(self, other: Particle | int) -> bool: return int(self.pdgid) < other def __eq__(self, other: object) -> bool: - """ - Compare with another Particle instance based on PDG IDs. + """ + Compare with another Particle instance based on PDG IDs. - Note - ---- - Ensure the comparison also works for the special cases of the proton and the neutron, - which have two PDG ID representations as particles or nuclei. - """ + Note + ---- + Ensure the comparison also works for the special cases of the proton and the neutron, + which have two PDG ID representations as particles or nuclei. + """ if isinstance(other, Particle): other = other.pdgid