linkchecker/linkcheck/command
Chris Down 85ce9841eb Allow FIFOs to be used as config files
There are some config options which have no equivalent command line
option. Some may want to set these options dynamically or on a one-off
basis where a static config file is not ideal, and one very easy way to
do that is using process substitution:

    linkchecker --config <(printf '%s\n' '[filtering]' 'ignorewarnings=http-redirected') ...

This, however, does not work in the current code because these are
typically implemented as FIFOs, which don't pass the `os.path.isfile`
check:

    WARNING linkcheck.cmdline 2023-10-31 00:12:09,678 MainThread Unreadable config file: '/dev/fd/63'

Allow reading FIFOs as config input so that this is possible.
`fileutil.is_readable` also now doesn't check if the path leads to a
regular file: this is only used as part of cookie and config file input,
and in both cases that's not really relevant.
2023-10-31 00:31:28 +00:00
..
__init__.py Generate linkchecker command using an entry point 2021-12-20 19:34:58 +00:00
arg_parser.py Remove support for nntp and telnet 2023-08-28 19:24:57 +01:00
linkchecker.py Allow FIFOs to be used as config files 2023-10-31 00:31:28 +00:00
setup_config.py Remove support for nntp and telnet 2023-08-28 19:24:57 +01:00