Skip to content

Commit

Permalink
Fixed style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelClerx committed Oct 9, 2024
1 parent 2e90ea4 commit 2950e9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nevis/_bng.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@ def rank(self):
@property
def ranked(self):
n = self._rank
return str(n) + {1: 'st', 2: 'nd', 3: 'rd'}.get(4 if 10 <= n % 100 < 20 else n % 10, "th")
return str(n) + {1: 'st', 2: 'nd', 3: 'rd'}.get(
4 if 10 <= n % 100 < 20 else n % 10, 'th')

@property
def summit(self):
Expand Down

0 comments on commit 2950e9d

Please sign in to comment.