1 Commits

Author SHA1 Message Date
bcbd5caad8 Update dependency flake8 to v7
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
2024-06-12 00:42:05 +00:00
7 changed files with 13 additions and 52 deletions

View File

@ -1,37 +0,0 @@
name: Build Docker Image
on:
push:
branches:
- main
- testing
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: git.home.timatlee.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: git.home.timatlee.com/timatlee/cloudflare-ddns:latest

View File

@ -1,4 +1,4 @@
FROM python:3.13-slim
FROM python:3.12-slim
WORKDIR /app

View File

@ -23,7 +23,6 @@ load_dotenv()
prompt="Enter your Cloudflare Token",
hide_input=True,
show_envvar=True,
envvar='CF_DDNS_TOKEN',
help="Your Cloudflare Bearer token."
)
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")

View File

@ -114,7 +114,7 @@ class ApplicationJob(threading.Thread):
domain = Domain(
record_json["name"],
record_json["type"],
zone_json["id"],
record_json["zone_id"],
record_json["id"]
)
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain

View File

@ -1,9 +1,9 @@
flake8~=7.2.0
flake8-annotations~=3.1.1
flake8-bugbear~=24.12.12
flake8-docstrings~=1.7.0
flake8~=7.0.0
flake8-annotations~=2.4.1
flake8-bugbear~=24.4.26
flake8-docstrings~=1.5.0
flake8-import-order~=0.18.1
flake8-string-format~=0.3.0
flake8-tidy-imports~=4.11.0
flake8-tidy-imports~=4.1.0
flake8-todo~=0.7
pep8-naming~=0.15.1
pep8-naming~=0.14.1

View File

@ -1,9 +1,8 @@
certifi==2025.1.31
certifi==2024.6.2
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
idna==3.10
python-dotenv==1.1.0
idna==3.7
requests==2.32.3
urllib3==2.4.0
urllib3==2.2.1