-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
todos should be falsy #821
Conversation
Codecov Report
@@ Coverage Diff @@
## master #821 +/- ##
==========================================
+ Coverage 34.34% 35.46% +1.12%
==========================================
Files 99 102 +3
Lines 5768 6524 +756
Branches 674 878 +204
==========================================
+ Hits 1981 2314 +333
- Misses 3702 4111 +409
- Partials 85 99 +14
Continue to review full report at Codecov.
|
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.
I'm good with this! One thing, though... couldn't we use ''
for string types and it still return false without the possibility of passing NoneType where str
is expected (if we're not checking if object is
? The main reason I used TODO
for the default values was to maintain parity from the original local_settings.py/settings.py
defaults.
@mbeacom good call.. just made that change. |
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.
lgtm
@mbeacom i noticed this when dockerizing my setup: i think that the TODOs in the settings file shoudl be falsy, so that
settings.GITHUB_CLIENT_ID
(and others) are falsy... and we don't try to send out a bunch of github/twitter/slack notifications because of lines of code like this everywhere.