Project-config

Latest version: v0.9.7

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

Scan your dependencies

Page 2 of 5

0.9.1

New features

- Added [**pre-commit**](https://mondeja.github.io/project-config/latest/reference/plugins.html#pre-commit) plugin with a [`preCommitHookExists`](https://mondeja.github.io/project-config/latest/reference/plugins.html#precommithookexists) action to check pre-commit hooks configurations.

Bug fixes

- Fixed keys unsorted when deserializing YAML content.

0.9.0

⚠️ Breaking changes

- Removed support for Python 3.7

Enhancements

- Added support for Python 3.12

0.8.0

:warning: Breaking changes

- Globs are not allowed inside `files` arrays of rules
- Tree API has been changed. Third party plugins must be updated accordingly

Bug fixes

- Fixed some inconsistencies using `--rootdir` and `--config` CLI options

Enhancements

- This version comes with a big refactor of some crucial parts of the program, which has allowed a x5 speedup improvement
- Don't depend on `typing_extensions` at runtime

New features

- Added `project-config show reporters` command to show all available reporters
- Added JMESPath functions for some file system operations: `isfile`, `isdir`, `exists`, `mkdir`, `rmdir` and `glob`
- Added new actions for `inclusion` plugin: `exludeLines` and `includeContent`

0.7.9

- Added support for JSON5 files on Python3.11.

0.7.8

Enhancements:

- Optimize `crossJMESPathsMatch` verb.

0.7.7

New features:

* Added `project-config show file`. Pass a path to a file or an URL as argument and it will print a JSON-serialized version of the content, for example `project-config show file pyproject.toml`.

Bug fixes:

* Fixed errors derived from the fact that `files` existence check has been being executed before the `ifFilesExist` conditional, which raises false positives if some of the files are the same and don't exist.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.