flake8_atlas: Improvements to command line usage
Improvements to our flake8_atlas
wrapper such that it can be used both for unit testing (where we currently use flake8
directly) as well as build integration:
- If used inside a unit test, the script will now return the actual
flake8
exit code. Otherwise zero (for build integration). - Add
--extend-select
option so the user can extend default list of selected error codes. - Number of parallel jobs can be overwritten via the new
$FLAKE8_ATLAS_JOBS
environment variable. - Print final
flake8
command if$FLAKE8_ATLAS_VERBOSE
is set - Specifying the file names after
--
is now only required if the--filterFiles
options is used.
Edited by Frank Winklmeier