Wikimedia

MassMailer: Fix errors found by flake8

Massmailer contains some lint errors found by flake8 that are currently ignored (see https://github.com/wikimedia/labs-tools-massmailer/blob/master/tox.ini, starting line 24).

How to fix an error

(all paths here are from the root of the repository)

  1. Choose an error from the list below
  2. Delete the error and its comment from /tox.ini
  3. Run tox -e lint to run only lint and see where the error is
  4. Fix the error reported by the command until the command from step 3 reports no errors.

Fix at least one error appearing more than 2 times, or three errors appearing only one times.

You should upload your patch via Wikimedia Gerrit.

Task tags

  • flask
  • python
  • lint
  • easy

Students who completed this task

Bjornskjald, Zoran Dori

Task type

  • code Code
close

2019