mirror of
https://github.com/Akarys42/cloudflare-ddns-docker.git
synced 2025-05-10 08:45:16 -06:00
Fix import ordering
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
import logging
|
||||
|
||||
import click
|
||||
from typing import Tuple
|
||||
|
||||
import click
|
||||
from cloudflare_ddns.app import ApplicationJob
|
||||
from cloudflare_ddns.constants import DEFAULT_DELAY
|
||||
|
||||
|
@ -4,11 +4,10 @@ from dataclasses import dataclass
|
||||
from typing import List, Tuple
|
||||
|
||||
import requests
|
||||
from cloudflare_ddns.constants import ACCEPTED_RECORDS, LIST_DNS, LIST_ZONES, PATCH_DNS, VERIFY_TOKEN
|
||||
from cloudflare_ddns.utils import BearerAuth, CloudflareHTTPError, check_status, get_ip, parse_duration
|
||||
from requests import HTTPError
|
||||
|
||||
from cloudflare_ddns.constants import ACCEPTED_RECORDS, LIST_DNS, LIST_ZONES, VERIFY_TOKEN, PATCH_DNS
|
||||
from cloudflare_ddns.utils import BearerAuth, parse_duration, get_ip, check_status, CloudflareHTTPError
|
||||
|
||||
log = logging.getLogger("ddns")
|
||||
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
import re
|
||||
|
||||
import requests
|
||||
from requests import Request, Response, codes, HTTPError
|
||||
from cloudflare_ddns.constants import BASE_ENDPOINT, IP_API_URL_IPV4, IP_API_URL_IPV6
|
||||
from requests import HTTPError, Request, Response, codes
|
||||
from requests.auth import AuthBase
|
||||
|
||||
from cloudflare_ddns.constants import IP_API_URL_IPV4, IP_API_URL_IPV6, BASE_ENDPOINT
|
||||
|
||||
DURATION_REGEX = re.compile(
|
||||
r"((?P<days>\d+?) ?(days|day|D|d) ?)?"
|
||||
r"((?P<hours>\d+?) ?(hours|hour|H|h) ?)?"
|
||||
|
Reference in New Issue
Block a user