Skip to content

Enhance code style and minor fixes

André Almeida requested to merge enhance_code_style into implement_ci

This merge request:

  • removes a lot of code style issues found by PyLint tool
  • fix some minor issues with the YML file
  • fix a minor bug (check if username is available in registration)
  • add a pipeline status badge to README, but it only work when merged to master

A lot of work still need to be done, but I did this MR in hope to make things easier for the future.

  • Previous scores:

    pylint --rcfile=.pylint.cfg decipher/challenge/
    Your code has been rated at 1.08/10
    pylint --rcfile=.pylint.cfg decipher/scripts/
    ERROR: Job failed: exit code 1
  • Actual scores:

    pylint --rcfile=.pylint.cfg decipher/challenge/
    Your code has been rated at 6.18/10
    pylint --rcfile=.pylint.cfg decipher/challenge/
    Your code has been rated at 4.59/10

Thanks, Tony

Merge request reports