Skip to content

Conversation

@mythmon
Copy link
Contributor

@mythmon mythmon commented Feb 13, 2015

This is a bit of a hack. It will make moving to DRF 3.0 even more annoying since it is "off the beaten path". However, this behavior is actually more similar (in spirit) to DRF 3.0, so maybe it isn't so bad. It also fixed the bug and unblocks BuddyUp.

r?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whaaaaaa

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to write @mythmon a pre-commit hook that looks for this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm... I was going to do this, but it turns out to be "hard" without reworking our pre-commit hook to run a directory of hooks so that we can add arbitrary checks in there.

Thoughts on that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've thought about writing that hook too, but it inevitably ends up harder than I want it to be. I think it would be good to have a directory of hooks system eventually, but that is hard and non-standard. Another idea: I think one of pep8, pyflakes, or flake8 supports some sort of plugin interface, which would probably be a good way to make this. I think this is how mccabe works.

Or I could just do better at not committing this...

@mythmon mythmon force-pushed the user-creation-with-email-1132115 branch from 83270e6 to 1dfdcca Compare February 14, 2015 00:30
@mythmon
Copy link
Contributor Author

mythmon commented Feb 14, 2015

☝️ I force pushed to remove the import q.

@rehandalal
Copy link
Contributor

yay! works as expected.

@rehandalal
Copy link
Contributor

@mythmon can't merge

@mythmon mythmon merged commit 1dfdcca into mozilla:master Feb 17, 2015
@mythmon mythmon deleted the user-creation-with-email-1132115 branch February 17, 2015 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants