autoimport icon indicating copy to clipboard operation
autoimport copied to clipboard

Autoimport automatically fixes wrong import statements.

Results 15 autoimport issues
Sort by recently updated
recently updated
newest added

Hi, We are trying to use autoimport in one of the huge project's python migration. I observed that default behaviour of autoimport is to fix missing import and also remove...

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks. # Issue During my research, I found that this repo is vulnerable to...

bug
help wanted

Hi all, right now I'm not using this project and don't have the time to maintain it, I plan to start using it again in the future so I'll probably...

help wanted

## Description Cannot run autoimport on a UTF-8 file with cyrillic characters on Windows. ## Steps to reproduce ``` > autoimport .py ``` ## Current behavior ``` Traceback (most recent...

bug

## Description ## Steps to reproduce ### Input file: ```python from foo import bar class C(bar.C): def method(self, param): from foo.some_very_long_name_of_a_module.another_submodule.wait_for_it import ( yet_another_long_name ) yet_another_long_name(param) ``` Run `autoimport` on...

bug

## Description I work on a project which has many function-local imports because top imports would cause import cycles. But I can't use autoimport because it insists on moving them...

## Description Given an import that contains unused function, autoimport exits abnormally. ## Steps to reproduce Given the following code, ```python from sympy import * from sympy.parsing.sympy_parser import (parse_expr, standard_transformations,...

bug

## Description Given a piece of code containing at least one unused multiline import statement, autoimport exits abnormally. ## Steps to reproduce Given the following code: ```python from sympy import...

bug
wontfix

## Description Make autoimport search for the object in all the available packages. ## Possible Solution Add an entry in `_find_package` similar to `_find_package_in_typing` that deduces the package that is...

enhancement
help wanted

## Description https://pypi.org/project/xdg/: > xdg has been renamed to xdg-base-dirs due to an import collision with [PyXDG](https://pypi.org/project/pyxdg/). Therefore the [xdg](https://pypi.org/project/xdg/) package is deprecated. Install [xdg-base-dirs](https://pypi.org/project/xdg-base-dirs/) instead. tl;dr: you'd need to...

bug
wontfix