Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8807

Remove unused imports from Python tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage - Ra 2022-02-21

      Summary

      We have lots of Python tests with unused imports in our test/suite folder. We could do some cleaning.

      Acceptance Criteria (Definition of Done)
      No more unused imports.

      Suggested Solution
      We can use the command that can be found in the following example:

       autoflake --in-place --remove-unused-variables example.py
      

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: