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

Remove unused imports from Python tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT11.0.0, 5.3.0
    • None
    • None
    • 2
    • Storage - Ra 2022-02-21

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: