integrate linting/auto-tools into the automated-upgrades pipeline
This is kinda of a meta ticket for now since that's not for tomorrow, we might want to split it later.
Here is a list of candidate tools that we might want to integrate into our global pipeline to automatically generate MRs for our code base:
-
check for dependencies with security problems using safety and upgrade them https://pypi.org/project/safety/ -
auto upgrade dependencies using the script created for that https://github.com/Psycojoker/cubetoolkit#autoupgradedependencies -
patrick's work on migrating to new cube layout if needed https://github.com/Psycojoker/cubetoolkit#to-newstyle-cube -
2to3 if needed -
flake8 with autoflake (we might want to contribute since of few things are fixed by this lib) https://github.com/Psycojoker/cubetoolkit -
black -
check-manifest (we'll need custom fixing scripts) -
doc8 -
auto generate doc https://github.com/Psycojoker/cubetoolkit#generate-doc and generate readthedocs page with configuration in heptapod? -
generate base tox file -
upgrade tox file with new commands -
generate base gitlab-ci -
upgrade gitlab-ci with new command -
include a -from-forge everywhere -
auto upgrade dependencies based on specific strategies (like "only upgrade minor versions") https://forge.extranet.logilab.fr/abreton/abreton/blob/branch/default/check_outdated_dependencies.sh