Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…Go fmt, Gofumpt, Google Java Format, 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 5668e81 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored May 11, 2024
1 parent 5668e81 commit 8f13433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# web/utils.py
import hashlib


def hash_data(data):
return hashlib.sha256(data.encode()).hexdigest()

0 comments on commit 8f13433

Please sign in to comment.