Skip to content

Commit b6b4b45

Browse files
committed
chore: formatting
1 parent f74ca1b commit b6b4b45

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

algoliasearch_django/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
'''
1+
"""
22
AlgoliaSearch integration for Django.
33
http://www.algolia.com
4-
'''
4+
"""
55

66
from . import models
77
from . import registration

tests/test_index.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ class IndexTestCase(TestCase):
1212
def setUp(self):
1313
self.client = algolia_engine.client
1414
self.user = User(name='Algolia', username="algolia",
15-
bio='Milliseconds matter', followers_count=42001,
16-
following_count=42, _lat=123, _lng=-42.24,
17-
_permissions='read,write,admin')
15+
bio='Milliseconds matter', followers_count=42001,
16+
following_count=42, _lat=123, _lng=-42.24,
17+
_permissions='read,write,admin')
1818
self.example = Example(uid=4,
19-
name='SuperK',
20-
address='Finland',
21-
lat=63.3,
22-
lng=-32.0,
23-
is_admin=True)
19+
name='SuperK',
20+
address='Finland',
21+
lat=63.3,
22+
lng=-32.0,
23+
is_admin=True)
2424
self.example.category = ['Shop', 'Grocery']
2525
self.example.locations = [
2626
{'lat': 10.3, 'lng': -20.0},
@@ -360,4 +360,4 @@ class ExampleIndex(AlgoliaIndex):
360360

361361
index = ExampleIndex(Example, self.client, settings.ALGOLIA)
362362
with self.assertRaises(AlgoliaIndexError, msg="We should raise when the should_index property is not boolean"):
363-
index._should_index(self.example)
363+
index._should_index(self.example)

tests/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
urlpatterns = []
1+
urlpatterns = []

0 commit comments

Comments
 (0)