Shed

Latest version: v2024.10.1

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

Scan your dependencies

Page 6 of 11

0.5.3

- Fix an internal error on files with lambdas containing positional-only arguments
which were [not detected as requiring Python 3.8](https://github.com/psf/black/pull/2532)
- Fix an internal error on files with
['fluent interface' call chains](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#call-chains)
(introduced in 0.5.2)

0.5.2

- Fix latent bugs around min-version handling with Black and LibCST
- Fix a rare crash with `--refactor` where com2ann could fail to parse input

0.5.1

- Continue in a single process if `os.fork()` fails with `BlockingIOError`

0.5.0

- Stop removing "unused" imports in code blocks; often they're used in later blocks
- Use custom LibCST refactoring passes instead of `pybetter`; because these are faster
they're also enabled outside of `--refactor` mode
- Replace `raise NotImplemented` with `raise NotImplementedError`
- Replace `assert False [, msg]` with `raise AssertionError [(msg)]`, for all falsey
literals, to avoid surprising behaviour with `PYTHONOPTIMIZE`
(use `if __debug__` if you need such behaviour)
- Remove `assert True`, or other truthy literals, which can never fail

0.4.2

- Warn on invalid syntax, and try to format docstrings anyway
([23](https://github.com/Zac-HD/shed/issues/23))

0.4.1

- Skip files or code-blocks with invalid syntax
([23](https://github.com/Zac-HD/shed/issues/23))

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.