We utilize two steps control to check code style of all files that differ from dev
branch in every pull request to dev
branch:
Install dependencies for black
framework.
[Optional] Check black
code style using the following command:
black --line-length=120 --check .
This command will list files to be reformatted.
dev
branch using the following command:black --line-length=120 .
After that one should add and commit all the reformatted files.
flake8
code style using the following command:./bin/run_codestyle.sh
This command will list errors and corresponding files.