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)
- Choose an error from the list below
- Delete the error and its comment from /tox.ini
- Run
tox -e lint
to run only lint and see where the error is - 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
Students who completed this task
Bjornskjald, Zoran Dori