sosbrumadinho / brumadinho_location

Conjunto de ferramentas para ajudar no resgate e localização das vítimas atingidas pelo rompimento da barragem que ocorreu recentemente em Brumadinho/MG
MIT License
868 stars 129 forks source link

Undefined name 'api_root' in urls.py #73

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/dieegom/brumadinho_location on Python 3.7.1

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

./geolocations_service/service/brumadinho/urls.py:33:14: F821 undefined name 'api_root'
    path('', api_root),
             ^
1     F821 undefined name 'api_root'
1

E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.