From 92d76084f111c8c3b80cad346fbacb33467288cd Mon Sep 17 00:00:00 2001 From: Abhishek Dasgupta Date: Tue, 28 May 2024 21:16:35 +0100 Subject: [PATCH] fmt: apply pre-commit --- .github/workflows/tests.yml | 2 +- cats/configure.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1cb7e17..73bb111 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: cache: 'pip' - name: Install dependencies run: | - python3 -m pip install --upgrade pip + python3 -m pip install --upgrade pip python3 -m pip install '.[test]' - name: Lint with flake8 run: | diff --git a/cats/configure.py b/cats/configure.py index 0c58395..f3bb993 100644 --- a/cats/configure.py +++ b/cats/configure.py @@ -13,7 +13,7 @@ import logging import sys from collections.abc import Mapping -from typing import Optional, Any +from typing import Any, Optional import requests import yaml @@ -24,9 +24,9 @@ __all__ = ["get_runtime_config"] -def get_runtime_config(args) -> tuple[APIInterface, str, int, - Optional[list[tuple[int, float]]], - Optional[float]]: +def get_runtime_config( + args, +) -> tuple[APIInterface, str, int, Optional[list[tuple[int, float]]], Optional[float]]: """Return the runtime cats configuration from list of command line arguments and content of configuration file.