Skip to content

Commit

Permalink
Make isort test properly run again within Travis (#792)
Browse files Browse the repository at this point in the history
* Fix not properly sorted imports

* Ignore only bdist files build/lib

Travis has `build` in its path name and therefore files got skipped from
isort. To avoid this we only skip `build/lib` which is used by
bdist command.

* Remove obsolete linting configuration

Co-authored-by: Alan Crosswell <alan@columbia.edu>
  • Loading branch information
sliverc and n2ygk authored Jun 8, 2020
1 parent 6a27cc1 commit f87eeaf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 388 deletions.
380 changes: 0 additions & 380 deletions .pylintrc

This file was deleted.

2 changes: 1 addition & 1 deletion example/tests/unit/test_renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from rest_framework_json_api import serializers, views
from rest_framework_json_api.renderers import JSONRenderer

from example.models import Author, Comment, Entry, Blog
from example.models import Author, Blog, Comment, Entry


# serializers
Expand Down
3 changes: 2 additions & 1 deletion example/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
EntryDRFSerializers,
EntrySerializer,
ProjectSerializer,
ProjectTypeSerializer)
ProjectTypeSerializer
)

HTTP_422_UNPROCESSABLE_ENTITY = 422

Expand Down
Loading

0 comments on commit f87eeaf

Please sign in to comment.