newsdev/who-the-hill

Indentation Error and undefined names

cclauss opened this issue · 0 comments

flake8 testing of https://github.com/newsdev/who-the-hill on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./who_the_hill/rek/models.py:182:21: F821 undefined name 'recognized_faces'
        for face in recognized_faces:
                    ^
./who_the_hill/rek/utils.py:10:4: E999 IndentationError: unexpected indent
    if on_after_date is not None
   ^
./who_the_hill/web/pub.py:99:12: F821 undefined name 'alerter'
MY_ALERT = alerter.Alerter(counter_limit=100, time_interval=3600, recipients=getRecipients())
           ^
1     E999 IndentationError: unexpected indent
2     F821 undefined name 'recognized_faces'
3