Skip to content

Commit

Permalink
add pylint exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bytosaur committed Apr 26, 2024
1 parent efa189a commit 1d33d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycycling/sterzo.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def _activate_steering_measurements(self):
if sys.version_info >= (3, 11):
challenge_file = importlib.resources.files(pycycling.data).joinpath('sterzo-challenge-codes.dat').open('rb')
else: # legacy support < 3.9
challenge_file = importlib.resources.open_binary(pycycling.data, 'sterzo-challenge-codes.dat')
challenge_file = importlib.resources.open_binary(pycycling.data, 'sterzo-challenge-codes.dat') # pylint: disable=deprecated-method

with challenge_file:
challenge_file.seek(self._latest_challenge * 2, 1)
Expand Down

0 comments on commit 1d33d02

Please sign in to comment.