Skip to content

Commit 83d411d

Browse files
committed
chore: update dependencies and docs
1 parent f63b0c6 commit 83d411d

File tree

10 files changed

+139
-82
lines changed

10 files changed

+139
-82
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1818

1919
steps:
2020
- uses: actions/checkout@v6

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2024 Yashar Fakhari
1+
Copyright (c) 2025 Yashar Fakhari
22
Copyright (c) 2016 kappataumu
33

44
Permission is hereby granted, free of charge, to any person obtaining

README.md

Lines changed: 116 additions & 71 deletions
Large diffs are not rendered by default.

hook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _get_zone_id(domain):
8181
if r:
8282
return auth, r[0]['id']
8383
if 'CF_API_TOKEN' in os.environ:
84-
logger.error(f"\033[91mERROR:\033[0m None of the provided API Tokens have the required permissions for the domain {tld}")
84+
logger.error(f"\033[91mERROR:\033[0m None of the provided API tokens have the required permissions for the domain {tld}")
8585
else:
8686
logger.error(f"\033[91mERROR:\033[0m Domain {tld} not found in any Cloudflare account")
8787
sys.exit(1)
@@ -207,7 +207,7 @@ def main(argv):
207207
'exit_hook': exit_hook
208208
}
209209
if argv[0] in ops:
210-
logger.info(" + CloudFlare hook executing: {0}".format(argv[0]))
210+
logger.info(" + Cloudflare hook executing: {0}".format(argv[0]))
211211
ops[argv[0]](argv[1:])
212212

213213
if __name__ == '__main__':

requirements-dev.direct

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
flake8
2+
mock
3+
requests-mock
4+
testtools

requirements-dev.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
flake8==7.3.0
2+
mccabe==0.7.0
3+
mock==5.2.0
4+
pycodestyle==2.14.0
5+
pyflakes==3.4.0
6+
requests-mock==1.12.1
7+
testtools==2.8.0

requirements.direct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dnspython
2+
requests
3+
tld

requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
certifi==2025.11.12
2+
charset-normalizer==3.4.4
13
dnspython==2.8.0
4+
idna==3.11
25
requests==2.32.5
3-
six==1.17.0
4-
testresources==2.0.2
56
tld==0.13.1
7+
urllib3==2.6.2

test-requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
1212
TESTS_DIR=./tests/unit/
1313
deps =
1414
-r{toxinidir}/requirements.txt
15-
-r{toxinidir}/test-requirements.txt
15+
-r{toxinidir}/requirements-dev.txt
1616
commands = {envbindir}/python -m unittest discover -v --top-level-directory {toxinidir} --start-directory {toxinidir}/tests/unit/
1717

1818
[flake8]

0 commit comments

Comments
 (0)