Dlint

Latest version: v0.14.1

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

Scan your dependencies

Page 2 of 3

0.10.2

Changed

- Cache namespace results and minimize kwarg checks by grouping similar rules - ~500% speed up ([18](https://github.com/dlint-py/dlint/issues/18))
- Only run linters that are selected - speed up depends on number of linters selected ([19](https://github.com/dlint-py/dlint/issues/19))

Fixed

- The `--print-dlint-linters` flag on Windows ([17](https://github.com/dlint-py/dlint/issues/17))

0.10.1

Fixed

- Crash in `DUO138` when malformed regular expression ([15](https://github.com/dlint-py/dlint/issues/15))

0.10.0

Added

- `DUO137`: lint for insecure itsdangerous kwarg usage ([36](https://github.com/duo-labs/dlint/issues/36))
- `DUO138`: lint for regular expression catastrophic backtracking in re module ([41](https://github.com/duo-labs/dlint/issues/41))

Fixed

- False positive for `DUO137` when kwarg missing ([39](https://github.com/duo-labs/dlint/issues/39))

0.9.2

Fixed

- False negative with arbitrary depth from import alias in bad module attribute ([32](https://github.com/duo-labs/dlint/issues/32))
- False negative with arbitrary depth from import wildcard in bad module attribute ([33](https://github.com/duo-labs/dlint/issues/33))

0.9.1

Fixed

- False positive with `input` as variable name ([31](https://github.com/duo-labs/dlint/issues/31))

0.9.0

Added

- `DUO116`: rule for `subprocess.run` ([24](https://github.com/duo-labs/dlint/issues/24))
- The `--print-dlint-linters` command-line flag to print all Dlint linters ([26](https://github.com/duo-labs/dlint/issues/26))
- `DUO136`: lint for insecure xmlsec usage ([27](https://github.com/duo-labs/dlint/issues/27))

Changed

- Visitor strategy to minimize node visits - ~25% speed up ([28](https://github.com/duo-labs/dlint/issues/28))

Fixed

- False negative with nested imports in bad module attribute ([30](https://github.com/duo-labs/dlint/issues/30))

Removed

- `dlint.linters.helpers.bad_kwarg_use`: use of `attribute_name` in favor of fully specified `module_path` ([19](https://github.com/duo-labs/dlint/issues/19))
- `dlint.tree`: use of `kwarg_attribute` in favor of `kwarg_module_path` ([21](https://github.com/duo-labs/dlint/issues/21))
- `dlint.linters.helpers.bad_name_attribute_use`: use of attribute list in favor of fully specified module path ([20](https://github.com/duo-labs/dlint/issues/20))

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.