+
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
565 commits
Select commit Hold shift + click to select a range
51c6b3e
Allow sphinx-rtd-theme to pick the versions of sphinx & docutils
cjmayo Jan 18, 2023
a61ffac
Merge pull request #720 from cjmayo/rtd_sphinx
cjmayo Jan 18, 2023
7a09ab4
Set permissions for build workflow
cjmayo Jan 19, 2023
a673a26
Replace deprecated cgi module in loginurl tests
cjmayo Jan 20, 2023
beab10b
Merge pull request #712 from cjmayo/getdefaultlocale
cjmayo Jan 23, 2023
f31d532
Merge pull request #715 from cjmayo/delete_docker
cjmayo Jan 23, 2023
3041c8a
Merge pull request #717 from cjmayo/git_archive
cjmayo Jan 23, 2023
91105d7
Merge pull request #716 from cjmayo/py38
cjmayo Jan 30, 2023
c055c4f
Merge pull request #721 from cjmayo/build
cjmayo Jan 30, 2023
05bf593
Merge pull request #722 from cjmayo/replace_cgi
cjmayo Jan 30, 2023
6fbaff7
There is no LICENSE file, just COPYING
hroncok Mar 9, 2023
054a583
Merge pull request #726 from hroncok/patch-1
cjmayo Mar 9, 2023
a7b9ac4
Fail on internal errors in LinkCheckTest.direct()
cjmayo Apr 17, 2023
1fcc0e2
Add FTP tests for listing and download
cjmayo Apr 17, 2023
4433556
Make checker.get_index_html() return bytes
cjmayo Apr 17, 2023
4b06485
Fix FTP checker
cjmayo Apr 17, 2023
99c77b2
Replace deprecated threading.currentThread()
cjmayo Apr 17, 2023
2987a58
Merge pull request #732 from cjmayo/ftp
cjmayo Apr 25, 2023
6ac5ed4
Merge pull request #733 from cjmayo/currentThread
cjmayo Apr 25, 2023
f0b6ddd
Move ignorewarnings to output section in linkcheckerrc(5)
cjmayo Apr 25, 2023
b5a290e
Use Coveralls GitHub Action
cjmayo May 1, 2023
5a1b7e1
Don't need git to install from GitHub
cjmayo May 1, 2023
7599671
Publish release to PyPI
cjmayo May 1, 2023
f704f99
Add installation with pipx to documentation
cjmayo May 1, 2023
3de691d
Merge pull request #734 from cjmayo/releases
cjmayo May 1, 2023
35e2f5a
Merge pull request #735 from cjmayo/ignorewarnings
cjmayo May 1, 2023
60c4e7b
Update configuration.Configuration.sanitize_ssl() docstring
cjmayo May 3, 2023
1341ee9
Fix errors found by Pylint
cjmayo May 3, 2023
2382377
Fix --password option being ignored
cjmayo May 3, 2023
8820c8c
Revert "Remove check-python-versions that needs setup.py"
cjmayo May 3, 2023
e6da68b
Add linting with Pylint to build workflow
cjmayo May 3, 2023
6ada5d9
Merge pull request #736 from cjmayo/pylint
cjmayo May 8, 2023
491fa98
Fix configuration.get_modules_info()
cjmayo May 8, 2023
9e87bb3
Update www.gnu.org links
cjmayo May 11, 2023
12743ed
Acknowledge project icon from KDE Oxygen Icons
cjmayo May 11, 2023
1271dc2
Merge pull request #737 from cjmayo/modules_info
cjmayo May 15, 2023
6c0f1f3
Merge pull request #739 from cjmayo/licence
cjmayo May 15, 2023
35544ee
Update doc translation catalogs
May 15, 2023
f5e0a31
Update man pages
May 15, 2023
5bff45c
Update application translation catalogs
May 15, 2023
4d9a390
Merge pull request #742 from cjmayo/man-updates
cjmayo May 15, 2023
1cb7f3d
Test on GitHub with httpbin from a container
cjmayo Jun 5, 2023
09f4fea
Import importlib submodules
cjmayo Jun 5, 2023
578205a
Merge pull request #746 from cjmayo/httpbin
cjmayo Jun 8, 2023
87f9a9f
Merge pull request #747 from cjmayo/importlib
cjmayo Jun 8, 2023
f39f6a7
Pass CI to tox testenv
cjmayo Jun 10, 2023
f744604
Merge pull request #748 from cjmayo/passenv
cjmayo Jun 12, 2023
beaf939
Elevate redirection to a warning tagged http-redirected
cjmayo Aug 28, 2023
77da1c1
Revert "Move ignorewarnings to output section in linkcheckerrc(5)"
cjmayo Aug 28, 2023
4d9749c
Log ignored warning messages as info
cjmayo Aug 28, 2023
b3429c4
Remove support for nntp and telnet
cjmayo Aug 28, 2023
e0b09b0
Replace % format in scripts/update_iana_uri_schemes.py
cjmayo Aug 28, 2023
ce4bb75
Update IANA schemes
cjmayo Aug 28, 2023
6b239aa
Replace deprecated __package__
cjmayo Aug 28, 2023
7763704
Replace deprecated datetime.utcfromtimestamp()
cjmayo Aug 28, 2023
821d0e3
Remove Python <= 3.6 compatibility from TestRobotsTxt
cjmayo Aug 28, 2023
f5db6f4
Replace args.get() in TextLogger
cjmayo Aug 28, 2023
ad48c7d
Make TextLogger message wrapping configurable
cjmayo Aug 28, 2023
05c4dde
Update list of distributions
cjmayo Aug 28, 2023
6536ec8
Fix typos in install.txt and faq.rst
cjmayo Aug 28, 2023
384048d
Improve application logging configuration comment
cjmayo Aug 28, 2023
2185f6e
Merge pull request #750 from cjmayo/redirected
cjmayo Sep 4, 2023
3d630b8
Merge pull request #751 from cjmayo/wraptext
cjmayo Sep 4, 2023
0faccf2
Merge pull request #752 from cjmayo/deprecated_modules
cjmayo Sep 4, 2023
630de40
Merge pull request #753 from cjmayo/deprecated
cjmayo Sep 4, 2023
16621d4
Merge pull request #754 from cjmayo/docs
cjmayo Sep 4, 2023
2b7c4ff
Fix Code documentation inheritance diagram
cjmayo Sep 5, 2023
cd259e6
Merge pull request #757 from cjmayo/inheritance
cjmayo Sep 5, 2023
ce640dc
Stop reporting deprecated sqlite3.version
cjmayo Sep 6, 2023
40c39c2
Fix TestMisc.test_itms_services() on Python 3.12
cjmayo Sep 6, 2023
e793e64
Add Python 3.12
cjmayo Sep 6, 2023
3a276cf
Merge pull request #755 from cjmayo/python3.12
cjmayo Sep 11, 2023
fcce23e
Update doc translation catalogs
Sep 11, 2023
3e6cb3d
Update man pages
Sep 11, 2023
486848f
Update application translation catalogs
Sep 11, 2023
9e9c4ff
Installing from tagged commits needs setuptools-scm >= 7.1.0
cjmayo Sep 18, 2023
95f158e
Generate Sigstore signatures for release
cjmayo Sep 18, 2023
aa00dc7
Documentation for release 10.3.0
cjmayo Sep 18, 2023
69f22dc
Merge pull request #758 from cjmayo/man-updates
cjmayo Sep 18, 2023
fe23eeb
Merge pull request #759 from cjmayo/rel103
cjmayo Sep 18, 2023
40e0628
Fix make homepage
cjmayo Sep 25, 2023
d414c4a
Rename upload step of release workflow
cjmayo Sep 25, 2023
0c9b98d
Fix release workflow publish step
cjmayo Sep 25, 2023
00da28f
Document that --verbose overrides --no-warnings
cjmayo Sep 25, 2023
227cfed
Merge pull request #761 from cjmayo/fixes
cjmayo Sep 25, 2023
287474a
Python 3.12 final is out, stop using -dev
mgedmin Oct 14, 2023
1ffb62a
Merge pull request #763 from linkchecker/py312
mgedmin Oct 14, 2023
c3d0787
Replace deprecated http.server.CGIHTTPRequestHandler for TestLoginUrl
cjmayo Oct 16, 2023
8ae3783
Merge pull request #764 from cjmayo/replace_cgihandler
cjmayo Oct 30, 2023
2cc17a3
Document updating IANA schemes as a release step
cjmayo Oct 30, 2023
187ded1
Add ms-windows-store scheme
cjmayo Oct 30, 2023
85ce984
Allow FIFOs to be used as config files
cdown Oct 31, 2023
0194791
pyftpdlib released with Python 3.12 support
cjmayo Nov 1, 2023
7f50c62
Merge pull request #766 from cjmayo/ms-windows-store
cjmayo Nov 6, 2023
b3b3cd5
Merge pull request #767 from cdown/cdown/2023-10-31/fifo
cjmayo Nov 6, 2023
f5ba538
Merge pull request #769 from cjmayo/pyftpdlib
cjmayo Nov 6, 2023
260350a
Update gh-action-sigstore-python to v2.1.0
cjmayo Nov 6, 2023
219c17a
Use cryptography to generate certificate in TestHttps
cjmayo Nov 7, 2023
fa2bb93
Check config file has sections
cjmayo Nov 13, 2023
db30833
Fix setting config["cookiefile"] regardless of check
cjmayo Nov 13, 2023
82a38e6
Check cookie file exists
cjmayo Nov 13, 2023
2e8cd48
Catch exception if cookie file could not be parsed
cjmayo Nov 13, 2023
eeee80e
Check cookie file has entries
cjmayo Nov 13, 2023
7a3be9b
Avoid FileNotFoundError if FILENAME does not exist
cjmayo Nov 13, 2023
73b099a
Exit if FILENAME does not exist or is not readable
cjmayo Nov 13, 2023
ac8495c
Add tests for missing and empty FILENAMEs
cjmayo Nov 13, 2023
5fafcea
Merge pull request #771 from cjmayo/cookiefile
cjmayo Nov 13, 2023
18b8371
Merge pull request #773 from cjmayo/cryptography
cjmayo Nov 13, 2023
d13ef04
Merge pull request #774 from cjmayo/gh-action-sigstore-python-2.1.0
cjmayo Nov 13, 2023
284969e
Raise minimum Python version to 3.9
cjmayo Nov 27, 2023
f390b7d
Replace deprecated importlib.resources.path()
cjmayo Nov 27, 2023
33b21e4
Avoid deprecated use of floats with ngettext
cjmayo Nov 27, 2023
268799e
Merge pull request #770 from cjmayo/py39
cjmayo Dec 4, 2023
6df0338
Update doc translation catalogs
Dec 4, 2023
1578393
Update man pages
Dec 4, 2023
ad2168f
Update application translation catalogs
Dec 4, 2023
f64dd7b
Fix SslCertificateCheck.__init__() docstring
cjmayo Dec 4, 2023
042aa2c
Update IANA schemes
cjmayo Dec 4, 2023
10adf4c
Documentation for release 10.4.0
cjmayo Dec 4, 2023
cc1054c
Update Docker image to Python 3.12
cjmayo Dec 11, 2023
b372116
Merge pull request #776 from cjmayo/man-updates
cjmayo Dec 11, 2023
829dae8
Merge pull request #779 from cjmayo/docker312
cjmayo Dec 11, 2023
08e6ef9
Merge pull request #777 from cjmayo/rel104
cjmayo Dec 11, 2023
0a5a615
Stop generating Sigstore signatures on release
cjmayo Dec 11, 2023
12e47c9
Merge pull request #780 from cjmayo/no-sigstore
cjmayo Dec 11, 2023
28f6743
Add ignorewarningsforurls to ignore specific warnings (#794)
nodet Feb 13, 2024
ed31e09
Fix Spanish translation of warning
cjmayo Feb 13, 2024
156f987
Merge pull request #798 from cjmayo/advertencia
cjmayo Feb 13, 2024
907d977
Remove space from ignoreerrors example in linkcheckerrc
cjmayo Feb 15, 2024
64e5cc1
Merge pull request #799 from cjmayo/ignoreerrors
cjmayo Feb 26, 2024
faa570f
Document CssSyntaxCheck and HtmlSyntaxCheck submit URLs
cjmayo Feb 22, 2024
ffe4a83
Document CssSyntaxCheck checks stylesheets
cjmayo Feb 22, 2024
6d41067
Merge pull request #801 from cjmayo/w3conline
cjmayo Feb 26, 2024
c7621d8
Make referenced options bold in WARNINGS in linkcheckerrc(5)
cjmayo Feb 26, 2024
7684a22
Make LinkChecker HTTP header bold in linkcheckerrc(5)
cjmayo Feb 26, 2024
b80aadb
Merge pull request #805 from cjmayo/bold
cjmayo Feb 26, 2024
fcf0cd0
Resolve CryptographyDeprecationWarning for not_valid_after
cjmayo Mar 11, 2024
54be64c
Merge pull request #806 from cjmayo/cryptography-42
cjmayo Mar 18, 2024
f1307c9
Fix test_ignoreerrors test_internet failure
cjmayo Mar 19, 2024
ea0b236
Rename test_ignoreerrors.TestFile
cjmayo Mar 19, 2024
91aee31
Merge pull request #807 from cjmayo/test_ignoreerrors
cjmayo Mar 19, 2024
70e55ac
Use actions/deploy-pages to publish to GitHub Pages
cjmayo Mar 21, 2024
640b9f6
Merge pull request #808 from cjmayo/actions_deploy-pages
cjmayo Mar 21, 2024
1c83056
Add version to Coveralls Action
cjmayo Mar 22, 2024
10530e5
Update Actions to Node 20 versions
cjmayo Mar 22, 2024
9dadf28
Suppress progress output from actions/checkout
cjmayo Mar 22, 2024
46d7d78
Preserve Docker images of releases
cjmayo Mar 22, 2024
10f1178
Merge pull request #809 from cjmayo/node20
cjmayo Mar 22, 2024
fad8e0a
Fix coverage results upload to Coveralls
cjmayo Apr 22, 2024
c019013
Merge pull request #820 from cjmayo/coverage
cjmayo Apr 22, 2024
8c392d9
Remove ref-names from .git_archival.txt
cjmayo Apr 22, 2024
06d662a
Merge pull request #819 from cjmayo/ref-names
cjmayo Apr 22, 2024
b5fa505
Fix pylint errors (false positives)
mgedmin May 20, 2024
6bfea13
Merge pull request #822 from linkchecker/pylint-errors
mgedmin May 21, 2024
f51be18
fix: rename Vater to Eltern in german translation
JanMalte Jun 9, 2024
f9ef0fc
Merge pull request #824 from JanMalte/patch-2
cjmayo Jun 11, 2024
84b26b2
Test with Python 3.13
cjmayo Aug 21, 2024
ecfd35b
Fix TestFile.test_markdown on Python 3.12.5
cjmayo Aug 21, 2024
e095258
Revert "Replace deprecated importlib.resources.path()"
cjmayo Aug 21, 2024
b6e2b4a
Add Python 3.13 to supported versions
cjmayo Aug 21, 2024
611bdd6
Merge pull request #828 from cjmayo/py313
cjmayo Aug 21, 2024
c937ff4
Avoid Coveralls upload failure because build was closed
cjmayo Aug 27, 2024
b31eec2
Merge pull request #827 from cjmayo/coveralls-parallel
cjmayo Aug 27, 2024
cd67cb4
Replace os.error
cjmayo Aug 27, 2024
b77e39f
Merge pull request #829 from cjmayo/oserror
cjmayo Aug 27, 2024
34bacae
Use actions/attest for Docker images and Python distributions
cjmayo Aug 27, 2024
e23ca84
Merge pull request #830 from cjmayo/attest
cjmayo Aug 27, 2024
6d14986
Add tests.running_in_ci()
cjmayo Aug 27, 2024
618c730
Fail tests instead of skipping if resources are unavailable in CI
cjmayo Aug 27, 2024
8395855
Fix TestFile.test_bad_file() skip message
cjmayo Aug 27, 2024
48496b3
Use a geoip tox factor
cjmayo Aug 27, 2024
0925900
Merge pull request #831 from cjmayo/ci-deps
cjmayo Aug 27, 2024
5246fe8
Resolve InsecureRequestWarning for test_https
cjmayo Aug 27, 2024
7cf5037
Merge pull request #832 from cjmayo/InsecureRequestWarning
cjmayo Aug 27, 2024
e27d15b
Add cryptography to tool.hatch.envs.test
cjmayo Aug 27, 2024
58507e9
Merge pull request #833 from cjmayo/hatch-test-cryptography
cjmayo Aug 27, 2024
cea3a84
Fix attest path to Python distribution files
cjmayo Aug 28, 2024
c698fe7
Don't push attestation of Docker images to the registry
cjmayo Aug 28, 2024
4247d5b
Merge pull request #836 from cjmayo/fix-attest
cjmayo Aug 28, 2024
39449bd
Update doc translation catalogs
Aug 27, 2024
42a4bcf
Update man pages
Aug 27, 2024
eca09ff
Update application translation catalogs
Aug 27, 2024
7ae1244
Merge pull request #835 from cjmayo/man-updates
cjmayo Sep 3, 2024
86c3071
Use pytest.mark.parametrize instead of parameterized
cjmayo Sep 3, 2024
5a174bc
Merge pull request #837 from cjmayo/parameterized
cjmayo Sep 3, 2024
7aa97cc
Update IANA schemes
cjmayo Sep 3, 2024
0608d4c
Documentation for release 10.5.0
cjmayo Sep 3, 2024
dae72c8
Merge pull request #834 from cjmayo/rel105
cjmayo Sep 3, 2024
94839dc
Fix TestHttp.test_html_internet on Python 3.12.6
cjmayo Sep 20, 2024
63a2cf7
Merge pull request #842 from cjmayo/urlunsplit
cjmayo Sep 20, 2024
2d30942
Run tests on ubuntu-22.04
cjmayo Oct 12, 2024
243d892
Merge pull request #847 from cjmayo/ubuntu-22.04
cjmayo Oct 12, 2024
872944e
Ignore flake8 F824 error in strformat.py
cjmayo Apr 7, 2025
bf176ae
Merge pull request #861 from cjmayo/flake8-f824
cjmayo Apr 7, 2025
759208d
Disable VirusCheck plugin
cjmayo Jul 14, 2025
8264e32
Merge pull request #866 from cjmayo/viruscheck
cjmayo Jul 18, 2025
45ee206
Update IANA schemes
cjmayo Jul 21, 2025
6970a6c
Add litecoin schemes
cjmayo Jul 21, 2025
2c5cf9d
Merge pull request #868 from cjmayo/litecoin
cjmayo Jul 21, 2025
193a87a
Test with Python 3.14
cjmayo Jul 23, 2025
dec76d6
Run tests on ubuntu-latest
cjmayo Jul 23, 2025
8c3a6f7
Merge pull request #867 from cjmayo/python3.14
cjmayo Jul 23, 2025
a3fa9af
Update doc translation catalogs
Jul 28, 2025
ff5f771
Update man pages
Jul 28, 2025
2b77750
Update application translation catalogs
Jul 28, 2025
7a00902
Merge pull request #870 from cjmayo/man-updates
cjmayo Jul 28, 2025
e52b222
Reduce requests for example.com from tests
cjmayo Jul 28, 2025
d36ca3b
Fix not verifying when a http URL is redirected to a https URL
cjmayo Jul 28, 2025
6eb0f7e
Merge pull request #869 from cjmayo/github.io
cjmayo Jul 28, 2025
8adae32
Add Python 3.14 to supported versions
cjmayo Jul 28, 2025
d076871
Documentation for release 10.6.0
cjmayo Jul 28, 2025
c6322b4
Merge pull request #871 from cjmayo/rel106
cjmayo Jul 28, 2025
a07af2d
Replace example.com in bookmarks test
cjmayo Jul 29, 2025
8eff2bb
Generate test.swf
cjmayo Jul 29, 2025
54db955
Replace example.org in test.swf
cjmayo Jul 29, 2025
dbb027a
Merge pull request #872 from cjmayo/github.io2
cjmayo Jul 31, 2025
f6c5ee0
UnicodeType removed from types in Python 3
cjmayo Jul 31, 2025
4694b41
codecs.open() is deprecated
cjmayo Jul 31, 2025
be3a944
Merge pull request #874 from cjmayo/codecs_open
cjmayo Aug 4, 2025
a6ad670
Generate PEP 625 compliant distribution files
cjmayo Aug 4, 2025
024bb87
Update actions/attest-build-provenance to v2
cjmayo Aug 4, 2025
f528fa0
Merge pull request #875 from cjmayo/sdist
cjmayo Aug 4, 2025
b4db831
Replace deprecated license classifier
cjmayo Aug 20, 2025
6bda933
Replace example.com in TestMisc.test_archive
cjmayo Aug 21, 2025
e10b6cc
Allow Dependabot to update Actions
cjmayo Sep 30, 2025
58c70c7
Bump docker/build-push-action from 5.3.0 to 6.18.0 in /.github/workflows
dependabot[bot] Sep 30, 2025
5a3ba1a
Bump docker/metadata-action from 5.5.1 to 5.8.0 in /.github/workflows
dependabot[bot] Oct 1, 2025
8e8e07a
Bump actions/checkout from 4 to 5 in /.github/workflows
dependabot[bot] Oct 1, 2025
8d0f916
Bump actions/attest-build-provenance from 1 to 3 in /.github/workflows
dependabot[bot] Oct 1, 2025
df0507e
Bump actions/setup-python from 5 to 6 in /.github/workflows
dependabot[bot] Oct 1, 2025
f87d149
Add missing "not" to `ignore` description
WalterHub Nov 18, 2024
fec5318
Docker: build multi-platform image
mwiesenbauer Apr 30, 2025
b459c88
Docker: use equal sign for env variable assignment
mwiesenbauer Apr 30, 2025
ade313e
Update Docker image to Python 3.13
cjmayo Oct 2, 2025
404643c
Bump actions/upload-pages-artifact from 3 to 4 in /.github/workflows
dependabot[bot] Oct 3, 2025
499ec5b
Revert "Add missing "not" to `ignore` description"
cjmayo Oct 3, 2025
a16f8e3
Bump coverallsapp/github-action in /.github/workflows
dependabot[bot] Oct 3, 2025
a0d82be
Bump docker/login-action from 3.1.0 to 3.6.0 in /.github/workflows
dependabot[bot] Oct 3, 2025
431f9ca
Use the PSF httpbin image
cjmayo Oct 4, 2025
33c1708
Support <source srcset=...>
nedbat Jan 11, 2025
b89c571
Replace legacy RawConfigParser
cjmayo Oct 6, 2025
89179b8
Increase minimum hatchling to 1.26
cjmayo Oct 6, 2025
949813b
Don't recommend pip
cjmayo Oct 6, 2025
0da2826
Raise minimum Python version to 3.10
cjmayo Oct 6, 2025
4b4f696
Drop data/__init__.py
cjmayo Oct 6, 2025
34d396c
Use importlib.resources to locate translations
cjmayo Oct 6, 2025
1966594
Remove unused module_path()
cjmayo Oct 6, 2025
601dafe
Replace example.com in test_html_internet()
cjmayo Oct 6, 2025
e12b23a
Installation documentation updates
cjmayo Oct 7, 2025
c9b07de
Ignore pylint 4.0.1 E0606 in locationinfo
cjmayo Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 3 additions & 23 deletions setup.cfg → .flake8
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
[global]
;command_packages = distcmds

[bdist_rpm]
release = 1
packager = Bastian Kleineidam <bastian.kleineidam@web.de>
doc_files = doc/examples/
cgi-bin/lconline/
provides = linkchecker
group = Applications/Internet
install_script = install-rpm.sh
python = python

[bdist_wheel]
universal = 0

[check-manifest]
ignore-bad-ideas = *.mo
ignore = *.rej

[flake8]
filename =
*.py
./linkchecker
extend-exclude =
build/
_LinkChecker_configdata.py
Expand All @@ -36,8 +15,6 @@ per-file-ignores =
# In several files imports intentionally cause:
# E402: module level import not at top of file
# F401: module imported but unused
linkchecker: E402
setup.py: E402
doc/src/conf.py: E402,F821
linkcheck/__init__.py: E402,F401
linkcheck/checker/httpurl.py: E402
Expand All @@ -47,11 +24,14 @@ per-file-ignores =
# E501: line too long
linkcheck/ftpparse.py: E501
linkcheck/checker/unknownurl.py: E501
linkcheck/command/arg_parser.py: E501
scripts/update_iana_uri_schemes.py: E501
tests/test_ftpparse.py: E501
# F821 undefined name
# https://github.com/PyCQA/pyflakes/issues/548
linkcheck/logger/__init__.py: F821
# F824 name is never assigned in scope
linkcheck/strformat.py: F824
extend-ignore =
# https://pep8.readthedocs.org/en/latest/intro.html#error-codes
# these are ignored by default:
Expand Down
3 changes: 3 additions & 0 deletions .git_archival.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.git_archival.txt export-subst
.gitattributes export-ignore
.gitignore export-ignore
/doc/web export-ignore
.travis.yml export-ignore
15 changes: 10 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
2.
3.

<!-- Reporting a minimal example that reproduces the problem in the text of
the issue can increase the chance of a solution significantly. -->

## Actual result

## Expected result
Expand All @@ -23,16 +26,18 @@
* Linkchecker version: <!-- linkchecker --version -->
* Python version: <!-- python --version -->
* Install method: <!-- distribution package, PyPI, from source tarball, from git, etc -->
* Site URL: <!-- e.g. https://example.com/... -->

## Configuration file
## Configuration

<!-- include full contents of your configuration file, ~/.linkchecker/linkcheckerrc -->
<!-- Include the output of `linkchecker -Dcmdline -q -f <FILENAME>` inline, not as an attachment, -->
<!-- you may want to substitute any sensitive strings, make sure any substitutions are consistent -->
<!-- in the reported result and logs. -->
<!-- (if you don't use -f/--config when reproducing the problem omit that option here). -->

## Logs

<!-- Include full log of the linkchecker run, with --verbose -->
<!-- Also include the exact commandline used -->
<!-- The exact command line used -->
<!-- Rerun with -Dall and include all relevant lines -->
<!-- If a Traceback happened include it in full as well -->

## Other notes
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/.github/workflows/"
schedule:
interval: "weekly"
57 changes: 57 additions & 0 deletions .github/workflows/branch-man.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Create a branch with updated man pages and application translations

on: workflow_dispatch

jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v5
with:
repository: linkchecker/linkchecker
ref: master
# Needed for hatch-vcs to extract LinkChecker version from tag
# https://github.com/actions/checkout/issues/249
fetch-depth: 0

- name: Install Ubuntu packages
run: sudo apt install gettext git

- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.x"

- name: Install Python packages
run: >
pip3 install dnspython beautifulsoup4 requests \
hatchling hatch-vcs sphinx sphinx_epytext \
sphinx_rtd_theme sphinx-sitemap sphinx-intl

- name: Prepare git environment
run: |
git config user.email "linkchecker@linkchecker.github.io"
git config user.name "LinkChecker"
git checkout -b man-updates
git remote add local ${{ github.server_url }}/${{ github.repository }}

- name: Build man pages
run: |
python3 -m hatchling build -t sdist --hooks-only
make -C doc locale
git commit -a -m "Update doc translation catalogs"
make -C doc man
git commit -a -m "Update man pages"

- name: Build application translations catalogs
run: |
rm -f po/linkchecker.pot
make -C po
git commit -a -m "Update application translation catalogs"

- name: Push changes
run: >
git push --set-upstream local man-updates
120 changes: 66 additions & 54 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# NB: this name is used in the status badge, where we want to see "build: passing"
name: build
permissions:
contents: read

on:
push:
Expand All @@ -20,59 +22,73 @@ jobs:
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
toxenv: [py]
include:
- python-version: "3.10"
toxenv: minreqs

services:
httpbin:
image: ghcr.io/psf/httpbin:0.10.2
ports:
- 8080:8080

steps:
- name: Install OS dependencies
run: |
sudo apt install -y clamav-daemon geoip-database libgeoip-dev gettext

- name: Download the ClamAV signature database
run: |
sudo service clamav-freshclam stop
sudo freshclam
sudo service clamav-daemon restart
sudo service clamav-daemon status
sudo apt-get update
sudo apt-get install -y geoip-database libgeoip-dev gettext

- name: Git clone
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
show-progress: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true

- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'setup.py') }}
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-

- name: Install Python dependencies
# coverage is required by coverallsapp/github-action
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U tox coveralls

- name: Wait for ClamAV to be ready
run: |
while ! test -S /var/run/clamav/clamd.ctl; do printf "."; sleep 1; done
python -m pip install -U hatchling hatch-vcs polib
python -m pip install -U tox coverage

- name: Run tests
run: python -m tox -e py
run: |
python -m hatchling build -t sdist --hooks-only
python -m tox -e ${{ matrix.toxenv }}-geoip

- name: Report to coveralls
run: coveralls
env:
COVERALLS_SERVICE_NAME: github
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
with:
parallel: true
flag-name: run-${{ matrix.python-version }}

finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Close coveralls parallel build
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
with:
parallel-finished: true

docs:
# there's some overlap with publish-pages.yml, but this one runs on pull
Expand All @@ -82,17 +98,21 @@ jobs:

steps:
- name: Git clone
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
show-progress: false

- name: Install Ubuntu packages
run: |
sudo apt install -y graphviz mandoc
sudo apt-get install -y graphviz mandoc

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: "3.x"

- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-docs-${{ hashFiles('tox.ini') }}
Expand All @@ -102,12 +122,13 @@ jobs:

- name: Install Python packages
run: |
pip install -r requirements.txt Sphinx sphinx-epytext sphinx-intl sphinx-rtd-theme
pip install -U dnspython beautifulsoup4 requests \
hatchling hatch-vcs sphinx sphinx-epytext \
sphinx-intl sphinx-rtd-theme sphinx-sitemap

- name: Build
run: |
python3 setup.py build
make -C doc code
python3 -m hatchling build -t sdist --hooks-only
make -C doc html
make -C doc locale
make -C doc man
Expand All @@ -121,18 +142,23 @@ jobs:
matrix:
toxenv:
- flake8
- check-manifest
- check-python-versions
- pylint
- yamllint

steps:
- name: Git clone
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
show-progress: false

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: "3.x"

- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.toxenv }}-${{ hashFiles('tox.ini') }}
Expand All @@ -143,22 +169,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U hatchling hatch-vcs polib
python -m pip install -U tox

- name: Run ${{ matrix.toxenv }}
run: python -m tox -e ${{ matrix.toxenv }}

translations:
name: Check Translations
runs-on: ubuntu-latest

steps:
- name: Git clone
uses: actions/checkout@v2

- name: Install dependency
run: sudo apt install -y gettext

- name: Compile translations
run: for po in po/*.po; do msgfmt -cv --statistics -o - ${po} >/dev/null; done
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载