Wikimedia

Commons Mass Description: Enable and fix violations for one flake8 rule

  1. Clone the repository from Gerrit and set it up for using with Gerrit (see the tutorial linked in "Materials" section)
  2. Go to https://phabricator.wikimedia.org/T205292 and pick one error in it.
  3. Open file /tox.ini in your text editor and delete the error and its description from it (if it's "line too long" error, delete the max-line-length row).
  4. Run tox -e lint to see the list of files where the error is in
  5. Open each file and fix the error
  6. Send a patch to Gerrit (see the tutorial linked in "Materials" section)

Materials

Task tags

  • flask
  • python
  • linting

Students who completed this task

Nathan, pipix, refeed

Task type

  • code Code
close

2018