build: introduce pylint, pyproject.toml, and formatting lints
Introduces pylint for analysing and reporting various code quality concerns, checks on the pyproject.toml project file, and black for code formatting. autopep8 is removed because we use black.
The remaining commits are largely fixups to the problems reported by pylint.
Edited by Deaktivert bruker