Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve flake8 violations in tests/ #428

Merged
merged 7 commits into from
May 29, 2020
Merged

Commits on May 28, 2020

  1. Run black on tests/

    cjmayo committed May 28, 2020
    Configuration menu
    Copy the full SHA
    165c51a View commit details
    Browse the repository at this point in the history
  2. Fix remaining flake8 violations in tests/

    tests/test_clamav.py:58:89: E501 line too long (90 > 88 characters)
    tests/test_containers.py:38:9: F841 local variable 'dummy' is assigned to but never used
    tests/test_dummy.py:35:9: F841 local variable 'dummy' is assigned to but never used
    tests/test_ftpparse.py:94:89: E501 line too long (96 > 88 characters)
    tests/test_url.py:128:89: E501 line too long (130 > 88 characters)
    tests/test_strformat.py:62:9: E741 ambiguous variable name 'l'
    tests/test_strformat.py:136:9: E731 do not assign a lambda expression, use a def
    tests/checker/ftpserver.py:94:9: E722 do not use bare 'except'
    tests/checker/httpserver.py:55:39: E231 missing whitespace after ','
    tests/checker/httpserver.py:224:9: E722 do not use bare 'except'
    tests/checker/telnetserver.py:84:9: E722 do not use bare 'except'
    tests/checker/__init__.py:71:89: E501 line too long (119 > 88 characters)
    tests/checker/__init__.py:292:13: E741 ambiguous variable name 'l'
    tests/checker/test_http_misc.py:30:1: W293 blank line contains whitespace
    tests/checker/test_https.py:21:1: F401 'tests.need_network' imported but unused
    tests/checker/test_news.py:35:1: E302 expected 2 blank lines, found 1
    cjmayo committed May 28, 2020
    Configuration menu
    Copy the full SHA
    8703991 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. Configuration menu
    Copy the full SHA
    be53c4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a534be0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ee8d8e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c71cfcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5df8aa0 View commit details
    Browse the repository at this point in the history