Pycln

Latest version: v2.4.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

1.2.3

Added

- [Add extend exclude CLI option hadialqattan](https://github.com/hadialqattan/pycln/pull/108)

Fixed

- [Pycln crashes with `IndexError` or `AttributeError` in case of `from . import *` by hadialqattan](https://github.com/hadialqattan/pycln/pull/103)

- [Skip any file containing a form feed character instead of breaking the code by hadialqattan](https://github.com/hadialqattan/pycln/pull/102)

- [Consider any import statement that is inlined with `:` as an unsupported case instead of breaking the code by hadialqattan](https://github.com/hadialqattan/pycln/pull/101)

1.2.2

Fixed

- [`pass` statements are removed from `orelse` parent nodes causing syntax errors by hadialqattan](https://github.com/hadialqattan/pycln/pull/100)

Changed

- [In case of `(async)func`/`class` contains docstring, keep only one `pass` statement instead of none by hadialqattan](https://github.com/hadialqattan/pycln/pull/100)

1.2.1

Fixed

- [Make the `__init__.py` file without `__all__` dunder's warning more precise by hadialqattan](https://github.com/hadialqattan/pycln/pull/98)

1.2.0

Fixed

- [Pycln removes imported names that should be exported in case of `__init__.py` file without `__all__` dunder by hadialqattan](https://github.com/hadialqattan/pycln/pull/97)
- [The path argument is ignored when passed in a config file by hadialqattan](https://github.com/hadialqattan/pycln/pull/95)
- [Remove star imports when nothing's actually imported by pmourlanne](https://github.com/hadialqattan/pycln/pull/92)

1.1.0

Added

- [Add support for Python 3.10 by hadialqattan](https://github.com/hadialqattan/pycln/pull/81)

Fixed

- [Pycln does not skip imports that have " nopycln: import" or " noqa" on the last line by hadialqattan](https://github.com/hadialqattan/pycln/pull/88)
- [Pycln removes extra lines in import-from multiline case (shown bellow) by hadialqattan](https://github.com/hadialqattan/pycln/pull/87)

python3
from xxx import (i,
j,
k)
if j isn't used, Pycln will remove this line no matter what it is!


- [Preserving trailing comma style in multi-line imports by hadialqattan](https://github.com/hadialqattan/pycln/pull/86)
- [Exit normally (code 0) when no files were present to be cleaned by rooterkyberian](https://github.com/hadialqattan/pycln/pull/84)
- [Parsing local path import with null-pacakge causes AttributeError by hadialqattan](https://github.com/hadialqattan/pycln/pull/76)
- [RecursionError occurs when expanding a star import that has too many related modules by hadialqattan](https://github.com/hadialqattan/pycln/pull/75)

1.0.3

Changed

- [Prevent the path finding method from searching inside any of the excluded directories' children by hadialqattan](https://github.com/hadialqattan/pycln/pull/68)

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.