Skip to content

Commit

Permalink
Run autoflake
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Sep 17, 2020
1 parent 4f1e122 commit a79fd7c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cfh/urls.py
@@ -1,5 +1,5 @@
from django.conf import settings
from django.conf.urls import include, url
from django.conf.urls import include
from django.conf.urls.static import static
from django.urls import path

Expand Down
3 changes: 0 additions & 3 deletions issues/extensions.py
Expand Up @@ -61,7 +61,6 @@ def post_create_issue(self, request, issue, data): # pragma: no cover
:param data: The data dict that was used to create the Issue
:type data: dict
"""
pass

def parse_extended_attributes(self, issue, extended_attributes): # pragma: no cover
"""
Expand All @@ -74,7 +73,6 @@ def parse_extended_attributes(self, issue, extended_attributes): # pragma: no c
:param extended_attributes: Extended attributes dict
:type extended_attributes: dict[str, object]
"""
pass

def extend_issue_serializer(self, serializer):
"""
Expand All @@ -85,7 +83,6 @@ def extend_issue_serializer(self, serializer):
:param serializer: IssueSerializer
:type serializer: issues.api.serializers.IssueSerializer
"""
pass

def validate_issue_data(self, serializer, data):
"""
Expand Down
6 changes: 3 additions & 3 deletions issues/tests/test_fields.py
@@ -1,10 +1,10 @@
import pytest
from django.contrib.gis.db.models.fields import GeometryField
from django.contrib.gis.geos import GEOSGeometry
from django.db import connection, models
from django.db import models
from django.db.models import Field
from django.db.models.sql import InsertQuery, Query
from django.db.models.sql.compiler import SQLCompiler, SQLInsertCompiler
from django.db.models.sql import InsertQuery
from django.db.models.sql.compiler import SQLInsertCompiler

from issues.fields import GeoPointField, GeoPointFieldFallback
from issues.gis import determine_gissiness
Expand Down
2 changes: 1 addition & 1 deletion issues/tests/test_jurisdictions.py
Expand Up @@ -3,7 +3,7 @@
from django.utils.crypto import get_random_string

from issues.models import Issue, Jurisdiction
from issues.tests.schemata import ISSUE_SCHEMA, LIST_OF_ISSUES_SCHEMA
from issues.tests.schemata import LIST_OF_ISSUES_SCHEMA
from issues.tests.utils import ISSUE_LIST_ENDPOINT, get_data_from_response, verify_issue


Expand Down
2 changes: 1 addition & 1 deletion issues/tests/test_posting.py
Expand Up @@ -5,7 +5,7 @@

from issues.models.applications import Application
from issues.signals import issue_posted
from issues.tests.schemata import ISSUE_SCHEMA, LIST_OF_ISSUES_SCHEMA
from issues.tests.schemata import LIST_OF_ISSUES_SCHEMA
from issues.tests.utils import ISSUE_LIST_ENDPOINT, close_enough, get_data_from_response, verify_issue


Expand Down
2 changes: 1 addition & 1 deletion issues_citysdk/tests/test_extended_citysdk_api.py
@@ -1,7 +1,7 @@
from django.utils.crypto import get_random_string

from issues.tests.conftest import mf_api_client, random_service, testing_issues # noqa
from issues.tests.schemata import ISSUE_SCHEMA, LIST_OF_ISSUES_SCHEMA
from issues.tests.schemata import LIST_OF_ISSUES_SCHEMA
from issues.tests.utils import ISSUE_LIST_ENDPOINT, get_data_from_response, verify_issue
from issues_citysdk.models import Issue_CitySDK

Expand Down
2 changes: 1 addition & 1 deletion issues_media/tests/test_issue_media.py
Expand Up @@ -8,7 +8,7 @@

from issues.models.issues import Issue
from issues.tests.conftest import mf_api_client, random_service # noqa
from issues.tests.schemata import ISSUE_SCHEMA, LIST_OF_ISSUES_SCHEMA
from issues.tests.schemata import LIST_OF_ISSUES_SCHEMA
from issues.tests.utils import ISSUE_LIST_ENDPOINT, get_data_from_response
# https://raw.githubusercontent.com/mathiasbynens/small/master/jpeg.jpg
from issues_media.models import IssueMedia
Expand Down

0 comments on commit a79fd7c

Please sign in to comment.