PyModules+flake8_atlas: Update to flake8 4.0.1
Update flake8 to version 4.0.1 (ATLINFR-4434).
- This version now supports
extend-select
(https://github.com/PyCQA/flake8/pull/1312) and we no longer need to support this in ourflake8_atlas
wrapper. - Remove
--isolated
from default options.flake8
v4 no longer supports reading configurations from the users's home directory. So there is no danger anymore that a local build would be influenced by such files. This will also allow us to add a.flake8
default configuration file to the athena repository that will then be picked up by IDEs automatically. - Also add a unit test for the wrapper script.
Once this goes into athena, use full-build to ensure no new flake8 warnings show up.