Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Golfari committed May 29, 2024
1 parent 48772bf commit 2fd79b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions airscore/core/formulas/libs/gap.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def distance_validity(task):
nomdist = task.formula.nominal_dist # nom distance
mindist = task.formula.min_dist # min distance
totalflown = task.tot_dist_over_min # total distance flown by pilots over min. distance
BestDistOverNom = task.max_distance - nomdist # best distance flown ove minimum dist.
# bestdistovermin = stats['max_distance'] - mindist # best distance flown ove minimum dist.
BestDistOverNom = task.max_distance - nomdist # best distance flown over nominal dist.
NumPilotsFlying = task.pilots_launched # Num Pilots flown

if not (NumPilotsFlying > 0): # sanity
Expand Down
3 changes: 1 addition & 2 deletions airscore/core/formulas/libs/pwc.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def distance_validity(task):
nomdist = task.formula.nominal_dist # nom distance
mindist = task.formula.min_dist # min distance
totalflown = task.tot_dist_over_min # total distance flown by pilots over min. distance
BestDistOverNom = task.max_distance - nomdist # best distance flown ove minimum dist.
# bestdistovermin = stats['max_distance'] - mindist # best distance flown ove minimum dist.
BestDistOverNom = task.max_distance - nomdist # best distance flown over nominal dist.
NumPilotsFlying = task.pilots_launched # Num Pilots flown

if not (NumPilotsFlying > 0): # sanity
Expand Down

0 comments on commit 2fd79b9

Please sign in to comment.