Skip to content

Commit

Permalink
handle new ruff PIE808
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Sep 15, 2023
1 parent 4869f42 commit 9373dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eve.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def lightyears(cmd):
]
jdc = []
for ship, jump_range in ship_ranges:
for level in range(0, 6):
for level in range(6):
if dist <= jump_range * (1 + level * 0.2):
jdc.append('%s%d' % (ship, level))
break
Expand Down

0 comments on commit 9373dd4

Please sign in to comment.