Open mikemanger opened 4 months ago
Adds pre-commit config to run django-upgrade, flake8 and pyupgrade.
This has picked up a few issues with the example project which makes it runnable with Django 4.2 (fixes #140) and updates the use of super() etc. to be inline with modern practices.
This could be taken further with isort, black or maybe even ruff.
Adds pre-commit config to run django-upgrade, flake8 and pyupgrade.
This has picked up a few issues with the example project which makes it runnable with Django 4.2 (fixes #140) and updates the use of super() etc. to be inline with modern practices.
This could be taken further with isort, black or maybe even ruff.