Shed

Latest version: v2024.3.1

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

Scan your dependencies

Page 2 of 11

2023.3.1

- Fixed cases where `shed` took two passes to handle unordered and removable imports
- Fixed cases where `--refactor` was making unintended semantic changes

2023.2.1

- Switch to calendar versioning to match underlying tools
- Fixed cases where `--refactor` could delete comments in parens
- `--refactor` replaces some calls to `list()`, `tuple()` and `dict()` builtins with literals

0.10.9

- Require Black >= 23.1.0 for latest code style

0.10.8

- Reformat `.pyi` files too

0.10.7

- Fixed `--refactor` to avoid incorrect changes to e.g. `x = y or len(z)`
- `--refactor` also removes redundant calls to `bool()` in boolean contexts.

0.10.6

- `--refactor` now splits `assert a and b [and c and ...]` into a separate
assertion for each clause, so that it's always clear which (if any) failed.
- `--refactor` removes redundant calls to `len()` in boolean contexts.

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.