Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1974

Fix and remove ignores in flake8 configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.16.0
    • Backlog
    • None
    • None

    Description

      Fixes with autopep8 in DISPATCH-1814 resolved many flake8 warnings. There are still warnings left that require human consideration and fixing.

      For example, usage of bare except in the code.

      This must be fixed manually. Fixed issues should then be removed from the tox.ini flake8 ignore section.

      List of "useful" suppressed warnings

          # H101: Use TODO(NAME)
          # H202: assertRaises Exception too broad
          # E722: do not use bare 'except'
          # H201: no 'except:' at least use 'except Exception:'
          # F811: redefinition of unused 'Timeout' from line 29
          # F405: may be undefined, or defined from star imports: datetime
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: