aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/snakes/_utils.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-10 09:28:43 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-10 09:28:43 -0400
commit4ba9c941fc8ceb50cf61cfcb5ae15afc6216c7b2 (patch)
tree8213e0636f076c947dc72916831546c1b828efc7 /bot/exts/evergreen/snakes/_utils.py
parentfix: 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.py4
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