Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhellander committed Oct 24, 2023
1 parent 5d70451 commit 662da5e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
},
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"python.formatting.provider": "none",
}
1 change: 1 addition & 0 deletions fedn/fedn/common/color_handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging

from termcolor import colored


Expand Down
3 changes: 3 additions & 0 deletions fedn/fedn/common/log_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import logging
import logging.config

import urllib3

from fedn.common.color_handler import ColorizingStreamHandler

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
logging.getLogger("urllib3").setLevel(logging.ERROR)

Expand Down
1 change: 1 addition & 0 deletions fedn/fedn/network/clients/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from fedn.common.log_config import logger


class Status(enum.Enum):
""" Enum for representing the status of a client assignment."""
Unassigned = 0
Expand Down
3 changes: 2 additions & 1 deletion fedn/fedn/network/clients/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
import requests
import yaml

from fedn.common.log_config import logger
from fedn.utils.checksum import sha
from fedn.utils.dispatcher import Dispatcher
from fedn.common.log_config import logger


class PackageRuntime:
""" PackageRuntime is used to download, validate and unpack compute packages.
Expand Down

0 comments on commit 662da5e

Please sign in to comment.