[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-05-15 08:51:35 +00:00
parent b366d6b63f
commit e95942d61b
32 changed files with 93 additions and 107 deletions

View File

@@ -2,19 +2,19 @@
import os
import shutil
import ssl
from subprocess import check_call
import time
from subprocess import check_call
import toml
from tornado.httpclient import HTTPClient, HTTPRequest, HTTPClientError
import pytest
import toml
from tornado.httpclient import HTTPClient, HTTPClientError, HTTPRequest
from tljh.config import (
CONFIG_DIR,
CONFIG_FILE,
STATE_DIR,
reload_component,
set_config_value,
CONFIG_FILE,
CONFIG_DIR,
STATE_DIR,
)
@@ -36,7 +36,6 @@ def send_request(url, max_sleep, validate_cert=True, username=None, password=Non
break
except Exception as e:
print(e)
pass
return resp
@@ -134,7 +133,7 @@ def test_extra_traefik_config():
HTTPClient().fetch(req)
success = True
break
except Exception as e:
except Exception:
pass
assert success == True