See also Issue #1336. Before this change, in the event of Parameters being entered of types other than str (e.g. bool, presumably float, int etc), the differ would bomb out with a confusing AttributeError error when trying to rstrip newline characters.
This changes to instead raise a SceptreException at that point, with an informative error message to help the caller understand what they did wrong.
PR Checklist
[x] Wrote a good commit message & description [see guide below].
[x] Commit message starts with [Resolve #issue-number].
See also Issue #1336. Before this change, in the event of Parameters being entered of types other than str (e.g. bool, presumably float, int etc), the differ would bomb out with a confusing AttributeError error when trying to rstrip newline characters.
This changes to instead raise a SceptreException at that point, with an informative error message to help the caller understand what they did wrong.
PR Checklist
[Resolve #issue-number]
.poetry run tox
) are passing.poetry run pre-commit run --all-files
).Approver/Reviewer Checklist
Other Information
Guide to writing a good commit