Clean up, remove compat with py < 3.6
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 4 Apr 2022 15:45:14 +0000 (17:45 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 21 Apr 2022 08:57:23 +0000 (10:57 +0200)
commit7628bc484b23ebce4a92bdaeabf0da9f456661a5
treefb42b3780a370702668fa547666c5796f5bfdd48
parent846fde6faaf7860dcf582cbe233e10b16d367cde
Clean up, remove compat with py < 3.6

Remove __future__ statements and other remainders of python2-compatibility.
Remove checks for python version <3.6, assume we are running on python 3.6
or above.

Also run a major pylint on all the code and fix lots of things, including
many typos, missing paramters, strange whitespace, "r" in front of regex
string literals, ...

However, ignore deprecated modules.
28 files changed:
src/arnied_wrapper.py
src/buffers.py
src/call_helpers.py
src/cnfline/build_cnfvar.py
src/cnfvar/store.py
src/connd_state.py
src/dial.py
src/imap_mailbox.py
src/log_helpers.py
src/log_read.py
src/mail_utils.py
src/mail_validator.py
src/mk_config.py
src/sysmisc.py
src/test_data_sync.py
src/text_helpers.py
src/type_helpers.py
src/v4_addr_range.py
src/web_interface.py
src/zip_stream.py
test/test_argparse_helpers.py
test/test_call_helpers.py
test/test_iter_helpers.py
test/test_log_helpers.py
test/test_log_read.py
test/test_type_helpers.py
test/test_v4_addr_range.py
test/test_zip_stream.py