From 14dd9e0d9c2921f850e6787928cc70ad7f0d4131 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 02:11:59 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in 45f671f according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- utils/math/elliptic_curve_arithmetic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/math/elliptic_curve_arithmetic.py b/utils/math/elliptic_curve_arithmetic.py index d999d0a..9d84e56 100644 --- a/utils/math/elliptic_curve_arithmetic.py +++ b/utils/math/elliptic_curve_arithmetic.py @@ -1,7 +1,9 @@ import hashlib + +from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives.asymmetric import ec -from cryptography.hazmat.backends import default_backend + class EllipticCurveArithmetic: def __init__(self): @@ -42,4 +44,5 @@ def encode_point(self, point): y = format(point.y, "x") return f"{x},{y}" + ecc = EllipticCurveArithmetic()