-
Notifications
You must be signed in to change notification settings - Fork 438
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
stripe-python 2.0.0 #386
stripe-python 2.0.0 #386
Conversation
b092152
to
47ac3a7
Compare
4dbab1f
to
72d75be
Compare
f18389d
to
e91e9d2
Compare
Makefile
Outdated
pipenv run detox | ||
|
||
ci: | ||
pipenv run py.test --cov=stripe -n 8 |
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 preferred name is just "pytest" (also above).
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! Will fix.
pytest-cov = ">=2.5" | ||
tox = "*" | ||
detox = "*" | ||
"flake8" = "*" |
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.
Does "flake8" need to be quoted?
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.
Good question! I'm not entirely sure why pipenv wraps some package names in quotes, but I figure it knows what it's doing :)
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.
It doesn't need to be quoted (source: https://github.com/toml-lang/toml#keys), but pipenv's toml library (prettytoml) is a bit overzealous and quotes any package name with a digit in it.
tox.ini
Outdated
basepython = python2.7 | ||
deps = flake8 | ||
commands = python -m flake8 --show-source stripe setup.py {posargs} | ||
python -m flake8 --show-source tests {posargs} |
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.
Could be a single command (moving/including tests
to/with the first).
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.
👍
50cad57
to
7437d29
Compare
7591929
to
7730ec8
Compare
929407f
to
1870900
Compare
1870900
to
f5f46c0
Compare
f5f46c0
to
cf93aff
Compare
7c7f891
to
54a9675
Compare
r? @brandur-stripe Alright, I think this is ready to be released. All PRs included in this branch have already been approved. Let me know if you have any concerns. |
Very exciting :) LGTM. |
🎉 |
Alrighty, let's go :) |
util.json
and usejson
module directly everywhere (Remove util.json and use json module directly everywhere #402)setup.py
and test flow (Update setup.py and test flow #403)NotImplementedError
tostripe.error.InvalidRequestError
(Change exception type when detaching unattached sources to InvalidRequestError #415)Fixes #376.