Skip to content

Commit

Permalink
Pin black version
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Jan 14, 2020
1 parent 13c60b4 commit e588903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit e588903

Please sign in to comment.