Skip to content
  • Hashar's avatar
    Add tox and flake8 · ff529875
    Hashar authored
    Fix reported issues:
    
    ./bin/getwikirights.py
    
    7:1: F401 'getpass' imported but unused
    11:1: E302 expected 2 blank lines, found 1
    23:16: E222 multiple spaces after operator
    25:5: F841 local variable 'wap' is assigned to but never used
    32:1: E305 expected 2 blank lines after class or function definition,
          found 1
    
    There is a very long string for an URL, ignores it with 'noqa'. The code
    should be refactored to pass a dict to requests.get.
    
    ./usertracker/UserTracker.py
    
    12:1: F401 'sys' imported but unused
    100:13: F841 local variable 'all_post_data' is assigned to but never used
    274:37: E117 over-indented
    
    Bug: T216801
    Change-Id: I9e5bdccdb9d5d2f36d671d06eade37384bcd8ba5
    ff529875