Set minimum Python version to 3.9
- drop compatibility with Python 2
- modernize configuration to use
pyproject.toml - modernize code with
pyupgradeansruff check --select=UP
Edited by Marco Clemencic
pyproject.toml
pyupgrade ans ruff check --select=UP