From 88f0d0017d653b03c16ee5a16d127149a5d68c47 Mon Sep 17 00:00:00 2001 From: queue-miscreant Date: Sat, 19 Jul 2025 19:55:08 -0500 Subject: [PATCH] blacken python scripts --- posts/permutations/2/graph_data/base.py | 3 ++- posts/permutations/2/graph_data/complete.py | 2 +- posts/permutations/2/graph_data/path.py | 3 +-- posts/permutations/2/graph_data/star.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/posts/permutations/2/graph_data/base.py b/posts/permutations/2/graph_data/base.py index 9a4a3af..22f6ed6 100644 --- a/posts/permutations/2/graph_data/base.py +++ b/posts/permutations/2/graph_data/base.py @@ -14,7 +14,8 @@ def display_integral_root( + ")^{" + str(multiplicity) # pad multiplicity - + (("\\phantom{" + ("0" * (pad_to - len(str(multiplicity))) + "}")) + + ( + ("\\phantom{" + ("0" * (pad_to - len(str(multiplicity))) + "}")) if pad_to is not None and len(str(multiplicity)) < pad_to else "" ) diff --git a/posts/permutations/2/graph_data/complete.py b/posts/permutations/2/graph_data/complete.py index 3726897..e37ed6b 100644 --- a/posts/permutations/2/graph_data/complete.py +++ b/posts/permutations/2/graph_data/complete.py @@ -73,7 +73,7 @@ data = { (20, 49), (28, 1), ] - ) + ), ), } diff --git a/posts/permutations/2/graph_data/path.py b/posts/permutations/2/graph_data/path.py index e31e097..3f951b1 100644 --- a/posts/permutations/2/graph_data/path.py +++ b/posts/permutations/2/graph_data/path.py @@ -93,8 +93,7 @@ data = { ), ), 8: GraphData( - vertex_count=40320, - spectrum=SymmetricSpectrum([], not_shown_count=40320) + vertex_count=40320, spectrum=SymmetricSpectrum([], not_shown_count=40320) ), } diff --git a/posts/permutations/2/graph_data/star.py b/posts/permutations/2/graph_data/star.py index 9d75ba2..cd5276f 100644 --- a/posts/permutations/2/graph_data/star.py +++ b/posts/permutations/2/graph_data/star.py @@ -78,7 +78,7 @@ data = { (6, 42), (7, 1), ] - ) + ), ), }