| 1 |
Source: autoimport |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: Edward Betts <[email protected]> |
| 4 |
Section: python |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
dh-sequence-python3, |
| 8 |
pybuild-plugin-pyproject, |
| 9 |
python3-all, |
| 10 |
python3-pdm-backend |
| 11 |
Rules-Requires-Root: no |
| 12 |
Standards-Version: 4.6.2 |
| 13 |
Homepage: https://github.com/lyz-code/autoimport |
| 14 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/autoimport |
| 15 |
Vcs-Git: https://salsa.debian.org/python-team/packages/autoimport.git |
| 16 |
|
| 17 |
Package: autoimport |
| 18 |
Architecture: all |
| 19 |
Depends: autoflake, |
| 20 |
python3-maison, |
| 21 |
python3-pyprojroot, |
| 22 |
${misc:Depends}, |
| 23 |
${python3:Depends} |
| 24 |
Description: Automatically import missing Python libraries |
| 25 |
Throughout the development of a Python program you continuously need to manage |
| 26 |
the Python import statements either because you need one new object or because |
| 27 |
you no longer need it. This means that you need to stop writing whatever you |
| 28 |
were writing, go to the top of the file, create or remove the import statement |
| 29 |
and then resume coding. |
| 30 |
. |
| 31 |
This workflow break is annoying and almost always unnecessary. 'autoimport' |
| 32 |
solves this problem if you execute it whenever you have an import error, for |
| 33 |
example by configuring your editor to run it when saving the file. |