Make use of code linting
Describe the solution you'd like Code linting would help keep the code base free from common bugs and style violations, and make it easier to include the tinytag.py file in other projects.
Additional context A combination of flake8 and Pylint has given me good results in my own Python projects, and those seem to be the main linters around.
GitHub Actions could be used to run flake8 and Pylint as part of the testing process, see e.g. https://github.com/nicotine-plus/nicotine-plus/blob/3cf018572404ebf22df9b654464654dc1acb864d/.github/workflows/tests.yml
Alternatively, this could also be integrated into Appveyor (I just realized that the Travis workflow isn't running anymore since travis-ci.org was discontinued).
2.0.0 would be a good opportunity to add Pylint, since we're removing support for Python 2.