diff --git a/scripts/createEDM4hepFile.py b/scripts/createEDM4hepFile.py index f11c433b0..b532e174c 100755 --- a/scripts/createEDM4hepFile.py +++ b/scripts/createEDM4hepFile.py @@ -36,7 +36,7 @@ def create_MCParticleCollection(): counter = count(COUNT_START) particles = edm4hep.MCParticleCollection() p_list = [] - for i in range(3): + for _ in range(3): particle = particles.create() p_list.append(particle) particle.setPDG(next(counter)) diff --git a/test/test_EDM4hepFile.py b/test/test_EDM4hepFile.py index 1b01a8c97..fc8da2d14 100644 --- a/test/test_EDM4hepFile.py +++ b/test/test_EDM4hepFile.py @@ -3,7 +3,6 @@ created by scripts/createEDM4hepFile.py has the expected contents """ -import os import podio import edm4hep import pytest @@ -12,7 +11,7 @@ # For now simply copy these from createEDM4hepFile.py FRAMES = 3 VECTORSIZE = 5 -COUNT_START = 42 # Where to the counter from +COUNT_START = 42 # Starting point for the counters @pytest.fixture(scope="module")