Skip to content
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

Pin black version #639

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install:

script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then make lint; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then make fmtcheck; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then make fmtcheck; fi
- make ci

after_success: make coveralls
2 changes: 1 addition & 1 deletion tests/api_resources/test_credit_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_is_modifiable(self, request_mock):
assert isinstance(resource, stripe.CreditNote)

def test_can_preview(self, request_mock):
resource = stripe.CreditNote.preview(invoice="in_123", amount=500,)
resource = stripe.CreditNote.preview(invoice="in_123", amount=500)
request_mock.assert_requested("get", "/v1/credit_notes/preview")
assert isinstance(resource, stripe.CreditNote)

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ passenv = LDFLAGS CFLAGS
[testenv:fmt]
description = run code formatting using black
basepython = python3.8
deps = black
deps = black==19.3b0
commands = black . {posargs}
skip_install = true

Expand Down