Skip to content

Commit

Permalink
encounter.py: removed one ruff exemption line comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaasRostock committed Nov 27, 2023
1 parent 5f03f03 commit 5e11ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trafficgen/encounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def find_start_position_target_ship(
if desired_encounter_type is colreg_state1 and np.abs(beta1 - desired_beta % 360) < deg_2_rad(0.1):
start_position_target_ship = Position(north=n_31, east=e_31)
start_position_found = True
elif desired_encounter_type is colreg_state2 and np.abs(beta1 - desired_beta % 360) < deg_2_rad(0.1): # noqa: E127
elif desired_encounter_type is colreg_state2 and np.abs(beta1 - desired_beta % 360) < deg_2_rad(0.1):
start_position_target_ship = Position(north=n_32, east=e_32)
start_position_found = True

Expand Down

0 comments on commit 5e11ad1

Please sign in to comment.