Skip to content

Commit

Permalink
Add flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Oct 28, 2018
1 parent b98f73d commit 4ec4746
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ install:
- pip install -r requirements-dev.txt

script:
- flake8 cattp
- make test
- codecov
4 changes: 2 additions & 2 deletions cattp/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@


class HttpCatResponse(HttpResponse):

def __init__(self, status_code=200):
super().__init__(
content=CATTP_RESPONSE.format(status_code),
status=status_code
)
)

0 comments on commit 4ec4746

Please sign in to comment.