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 d94390d 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 10, 2024
1 parent d94390d commit 9964671
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions network/networking.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import socket


class Networking:
def __init__(self):
self.host = '0.0.0.0'
self.host = "0.0.0.0"
self.port = 8080
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.socket.bind((self.host, self.port))
Expand All @@ -11,7 +12,7 @@ def listen_for_connections(self):
self.socket.listen(5)
while True:
connection, address = self.socket.accept()
print(f'Connection from {address} has been established!')
print(f"Connection from {address} has been established!")
self.handle_connection(connection)

def handle_connection(self, connection):
Expand Down

0 comments on commit 9964671

Please sign in to comment.