Skip to content

Commit

Permalink
make precommit ignor long lambda line
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed Sep 13, 2024
1 parent 67f603d commit 0d58b70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit_tests/test_particulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class DP(DummyParticulator):

particulator = DP(backend_class, 44)
particulator.attributes = ParticleAttributes()
# fmt: off
particulator.backend.seeding = (
lambda
idx,
Expand All @@ -104,6 +105,7 @@ class DP(DummyParticulator):
number_of_super_particles_to_inject:
None
)
# fmt: on

# act
particulator.seeding(
Expand Down

0 comments on commit 0d58b70

Please sign in to comment.