diff options
author | 2021-05-10 09:28:43 -0400 | |
---|---|---|
committer | 2021-05-10 09:28:43 -0400 | |
commit | 4ba9c941fc8ceb50cf61cfcb5ae15afc6216c7b2 (patch) | |
tree | 8213e0636f076c947dc72916831546c1b828efc7 /bot/exts/evergreen/snakes/_utils.py | |
parent | fix: Use str.isdecimal instead of str.isdigit (diff) |
chore: Apply more suggested changes
Diffstat (limited to 'bot/exts/evergreen/snakes/_utils.py')
-rw-r--r-- | bot/exts/evergreen/snakes/_utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/exts/evergreen/snakes/_utils.py b/bot/exts/evergreen/snakes/_utils.py index 998c13a9..9b38ffa2 100644 --- a/bot/exts/evergreen/snakes/_utils.py +++ b/bot/exts/evergreen/snakes/_utils.py @@ -192,9 +192,7 @@ class PerlinNoiseFactory(object): """Get plain noise for a single point, without taking into account either octaves or tiling.""" if len(point) != self.dimension: raise ValueError( - "Expected {0} values, got {1}".format( - self.dimension, len(point) - ) + f"Expected {self.dimension} values, got {len(point)}" ) # Build a list of the (min, max) bounds in each dimension |