Currently the workflows in our CI perform flake8 checks on the python code in order to produce lint errors. However, these checks only execute on the toynet-flask/flasksrc directory. Expand these lint checks to also address the following folders and resolve any lint errors that arise:
toynet-flask/tests
toynet-flask/toynet_mininet/flasksrc
toynet-flask/toynet_mininet/tests
toynet-flask/toynet_mininet/util
toynet-flask/toynet_mininet/toynet
Additionally, update the Makefiles so that a call to make lint will run the appropriate lint checks locally; the README should also be updated to show that the developer needs to install flake8 via pip3 for this functionality.
Currently the workflows in our CI perform
flake8checks on the python code in order to produce lint errors. However, these checks only execute on thetoynet-flask/flasksrcdirectory. Expand these lint checks to also address the following folders and resolve any lint errors that arise:toynet-flask/teststoynet-flask/toynet_mininet/flasksrctoynet-flask/toynet_mininet/teststoynet-flask/toynet_mininet/utiltoynet-flask/toynet_mininet/toynetAdditionally, update the
Makefiles so that a call tomake lintwill run the appropriate lint checks locally; theREADMEshould also be updated to show that the developer needs to installflake8viapip3for this functionality.