diff options
author | 2021-05-07 13:41:23 -0400 | |
---|---|---|
committer | 2021-05-07 13:41:23 -0400 | |
commit | d5f01153aac59cfbc043d894ebf6e1173c1efb48 (patch) | |
tree | d129b953b2882ce90603a3db6f442a14e98af5fd /bot/exts/evergreen/snakes/_utils.py | |
parent | fix: Resolve Merge Conflicts (diff) |
chore: Reformat the code to follow the style guild
Diffstat (limited to 'bot/exts/evergreen/snakes/_utils.py')
-rw-r--r-- | bot/exts/evergreen/snakes/_utils.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bot/exts/evergreen/snakes/_utils.py b/bot/exts/evergreen/snakes/_utils.py index d58ee279..998c13a9 100644 --- a/bot/exts/evergreen/snakes/_utils.py +++ b/bot/exts/evergreen/snakes/_utils.py @@ -191,8 +191,11 @@ class PerlinNoiseFactory(object): def get_plain_noise(self, *point) -> float: """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))) + raise ValueError( + "Expected {0} values, got {1}".format( + self.dimension, len(point) + ) + ) # Build a list of the (min, max) bounds in each dimension grid_coords = [] |