Leapp repositories containing actors for the Leapp framework (https://github.com/oamg/leapp). Currently provides leapp repositories for in-place upgrades of RHEL systems.
The current way of checking the new code against our linters setup, has the following disadvantages:
The process takes roughly 2-3 minutes (running linters for each new and existing files)
The process is not proactive in terms of helping contributors to pass the linters. The contributor either has to run linters and wait for outputs (not convenient as it takes quite long + not all contributors know about our linters at all), or they have to push the code and then waiting when travis will do the job (even longer).
Current linter just finds the problems and not fixing them
Automatically running so-called pre-commit hooks each time the contributor commits something in a local tree (makes it proactive)
The scope of the pre-commit hooks run are only files which are committed (make the run time neglectable)
pre-commit ecosystem has a lot of hooks, which fixes problems instead of you (i.e. empty line in the end of file etc.)
Under the scope of this task:
[ ] migrate current setup of the linters to the pre-commit setup #575 #576
[ ] update developers documentation
[ ] update ci to run pre-commit hooks and tests in parallel (because we have a much bigger guarantee that linters will pass compared to the previous solution) #577
The current way of checking the new code against our linters setup, has the following disadvantages:
https://pre-commit.com acts in a different manner. It is:
Under the scope of this task: