This PR Introduces the --apply-remediations flag for the check command. It works only for requirements files passed to the check command and requires a PyUp API KEY.
What does this feature?
When users use the --apply-remediations flag, Safety will look for the referenced requirement files and apply the proper remediation for each dependency.
This PR Introduces the
--apply-remediations
flag for the check command. It works only for requirements files passed to the check command and requires a PyUp API KEY.What does this feature?
When users use the
--apply-remediations
flag, Safety will look for the referenced requirement files and apply the proper remediation for each dependency.How to use:
safety check --key [API_KEY] -r reqs_1.txt -r reqs_2.txt --apply-remediations
Note: this feature supports recursive requirements.