Pybetter

Latest version: v0.4.1

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

Scan your dependencies

Page 1 of 3

0.4.1

Misc
* Updated dependencies.
* Now we use [LibCST](https://github.com/Instagram/LibCST) 0.4.1, which means that you should be able to run `pybetter` on all the Python 3 versions up to **3.11**!
* Please be kind to each other and hug your loved ones.

0.4.0

Features:

* (B010) Added new fixer for `not A is B => A is not B` situation. (kudos to rs2)

Bugfixes:

* (B003) Prevent removal of parentheses around empty tuple (kudos to rs2)
* (B008) Invalid translation with async context manager block (kudos to lummax)

0.3.7

Bugfixes:

* (B004) Fix `typing.overload` annotations causing appearance of duplicate identifiers in `__all__` attribute (thanks, [Bernát Gábor](https://github.com/gaborbernat)!).

Misc

* Added [support](https://github.com/lensvol/pybetter/blob/master/.pre-commit-hooks.yaml) for `pre-commit` hooks (thanks, [Pavel Kedrinskiy](https://github.com/pavelpy)!).
* Updated version of LibCST used from **0.3.16** to **0.3.19**.

0.3.6.1

Misc

* Fix another edge case with transforming "raw" f-strings (thanks, Zac Hatfield-Dodds!)

0.3.6

Misc

* Fix triple quotes being mangled by 'trivial f-string' transform (thanks, Zac Hatfield-Dodds!)
* Updated dependencies.

0.3.5

Misc:

* Add `--exit-code` option to facilitate use as a static analysis tool.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.