Closed jinnatar closed 1 year ago
This PR includes a bunch of other minor changes that overlap with the config-revamp PR #364. This is due to the typing issues already being present in the current HEAD, so likely issues found by newer versions of mypy.
Actually, the only thing I truly had to update was the black
run & flake8
warning. The typing errors I was seeing were due to including the --check-untyped-defs
mypy parameter. So if desired, I can roll this back to just b417874
& 4b3af01. But those typing fixes are in the other PR as well.
As the default is to enable auth, a server without support produces a very long stracktrace. With this change instead a clear error log is emitted and the connection is still attempted without auth.