Skip to content

Commit

Permalink
🎨 pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 11, 2024
1 parent 7e15ff3 commit b7f7c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/cc_decoder/max_sat_sinter_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def detector_error_model() -> stim.DetectorErrorModel:


def test_decode_shots_bit_packed(detector_error_model: stim.DetectorErrorModel) -> None:
""" test bit packed shot decoding """
"""Test bit packed shot decoding."""
bit_packed_shots = np.array([[0, 0]]).astype(np.uint8)
max_sat_stim = MaxSatStim(detector_error_model)
sinter_decoder = SinterCompiledDecoderMaxSat(max_sat_stim)
Expand All @@ -328,7 +328,7 @@ def test_decode_shots_bit_packed(detector_error_model: stim.DetectorErrorModel)


def test_decode_via_files(detector_error_model: stim.DetectorErrorModel) -> None:
""" test via file decoding """
"""Test via file decoding."""
decoder = SinterDecoderMaxSat()
result = decoder.compile_decoder_for_dem(detector_error_model)
assert result.decoder is not None
Expand Down

0 comments on commit b7f7c4b

Please sign in to comment.