Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 13, 2024
1 parent 3d10c14 commit 7279017
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Client side program
Run with `python3 -m client <host name> <port number> <username> <message_type>`
"""

import sys

from logging_config import configure_logging
Expand Down
1 change: 1 addition & 0 deletions client/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The client module contains the Client class
"""

from collections import OrderedDict
from typing import Optional
import logging
Expand Down
1 change: 1 addition & 0 deletions logging_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Applies formatting and specifies output locations
for all module loggers.
"""

from datetime import datetime
import logging
import sys
Expand Down
1 change: 1 addition & 0 deletions server/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Server side program
Run with `python3 -m server <port number>`
"""

import logging
import sys

Expand Down
1 change: 1 addition & 0 deletions server/server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The server module contains the Server class
"""

from collections import OrderedDict
import logging
import socket
Expand Down
1 change: 1 addition & 0 deletions src/packets/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This module contains the Message class, which is used to encode and decode
messages from within the MessageResponse packet.
"""

import struct

from .packet import Packet
Expand Down
1 change: 1 addition & 0 deletions src/packets/message_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This module contains the MessageResponse class, which is used to encode and decode
message response packets.
"""

import logging
import struct

Expand Down
1 change: 1 addition & 0 deletions tests/applications/test_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Client class test suite
"""

import unittest
import socket

Expand Down
1 change: 1 addition & 0 deletions tests/applications/test_client_parse_arguments.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Client class test suite
"""

import unittest

from client import Client
Expand Down
1 change: 1 addition & 0 deletions tests/applications/test_command_line_application.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Packet class test suite
"""

import unittest
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions tests/applications/test_server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Server class test suite
"""

import unittest
import socket

Expand Down
1 change: 1 addition & 0 deletions tests/packets/test_message.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Message class test suite
"""

import unittest

from src.packets.message import Message
Expand Down
1 change: 1 addition & 0 deletions tests/packets/test_message_request.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
MessageRequest class test suite
"""

import unittest

from src.packets.packet import Packet
Expand Down
1 change: 1 addition & 0 deletions tests/packets/test_message_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
MessageResponse class test suite
"""

import unittest

from src.packets.packet import Packet
Expand Down

0 comments on commit 7279017

Please sign in to comment.