-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added SCRUBBER_VALIDATION_WHITELIST and excluded Django core test model #56
Added SCRUBBER_VALIDATION_WHITELIST and excluded Django core test model #56
Conversation
Thanks for the contribution. Just a few questions about it. |
…telist-added # Conflicts: # CHANGELOG.md
@lociii Sure! Where did you post the questions? 🙂 |
|
||
if model_path in whitelisted_models: | ||
print(f'Model {model_path!r} was excluded via \'SCRUBBER_VALIDATION_WHITELIST\' and will ' | ||
f'not be validated.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f-string is unnecessary here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The !r
notation takes care of the ticks, don't you think that's a plus?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I just meant the second line of the string.
f'not be validated.'
could be 'not be validated.'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Sorry. Forgot to finish the review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review! Here are my answers.
Great. Thanks. I'll make a new release later today. |
Awesome! Thanks a lot! 💪 |
No description provided.