Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
frankwiles committed Jun 24, 2024
1 parent 001c2d0 commit 537fb08
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tag = True

[metadata]
name = django-test-plus
version = 2.2.3
version = 2.2.4
description = "django-test-plus provides useful additions to Django's default TestCase"
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 0 additions & 2 deletions test_plus/test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import json

import django

try:
Expand Down
1 change: 0 additions & 1 deletion test_project/test_app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def view_json(request):
return HttpResponse('', content_type='application/json')



@login_required
def needs_login(request):
return HttpResponse('', status=200)
Expand Down
3 changes: 2 additions & 1 deletion test_project/test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@

REST_FRAMEWORK = {
'TEST_REQUEST_DEFAULT_FORMAT': 'json',
}
}

0 comments on commit 537fb08

Please sign in to comment.