How to use the unimport.unused.get_unused function in unimport

To help you get started, we’ve selected a few unimport examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thg-consulting / inspectortiger / inspectortiger / plugins / community / unimport.py View on Github external
def set_unimport(node, db):
    db["community"]["unimport"]["unimport"] = get_unused(node)

unimport

The ultimate linter and formatter for removing unused import statements in your code.

MIT
Latest version published 12 months ago

Package Health Score

65 / 100
Full package analysis

Popular unimport functions