Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed May 14, 2024
1 parent 2fa288d commit 470b8e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion spinnman/spalloc/spalloc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@

KEEP_ALIVE_PERIOND = 30


def fix_url(url: Any) -> str:
"""
Makes sure the url is the correct format.
Expand Down Expand Up @@ -503,7 +504,8 @@ def __init__(self, session: Session, job_handle: str):
self.__proxy_handle: Optional[WebSocket] = None
self.__proxy_thread: Optional[_ProxyReceiver] = None
self.__proxy_ping: Optional[_ProxyPing] = None
keep_alive = threading.Thread(target=self.__start_keepalive, daemon=True)
keep_alive = threading.Thread(
target=self.__start_keepalive, daemon=True)
keep_alive.start()

@overrides(SpallocJob.get_session_credentials_for_db)
Expand Down
1 change: 0 additions & 1 deletion spinnman/spalloc/spalloc_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from contextlib import AbstractContextManager
from typing import Dict, Mapping, Optional, Tuple
from spinn_utilities.abstract_base import AbstractBase, abstractmethod
from spinnman.constants import SCP_SCAMP_PORT
Expand Down

0 comments on commit 470b8e8

Please sign in to comment.