Skip to content

Commit 8e844ac

Browse files
committed
Correct code style
1 parent 6abdb86 commit 8e844ac

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

environ/environ.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class Env:
191191
CLOUDSQL = 'cloudsql'
192192

193193
DEFAULT_CHANNELS_ENV = "CHANNELS_URL"
194-
CHANNELS_SCHEMES = {
194+
CHANNELS_SCHEMES = {
195195
"inmemory": "channels.layers.InMemoryChannelLayer",
196196
"redis": "channels_redis.core.RedisChannelLayer",
197197
"redis+pubsub": "channels_redis.pubsub.RedisPubSubChannelLayer"
@@ -345,7 +345,8 @@ def search_url(self, var=DEFAULT_SEARCH_ENV, default=NOTSET, engine=None):
345345
engine=engine
346346
)
347347

348-
def channels_url(self, var=DEFAULT_CHANNELS_ENV, default=NOTSET, backend=None):
348+
def channels_url(self, var=DEFAULT_CHANNELS_ENV, default=NOTSET,
349+
backend=None):
349350
"""Returns a config dictionary, defaulting to CHANNELS_URL.
350351
351352
:rtype: dict
@@ -755,7 +756,7 @@ def email_url_config(cls, url, backend=None):
755756
config['OPTIONS'] = config_options
756757

757758
return config
758-
759+
759760
@classmethod
760761
def channels_url_config(cls, url, backend=None):
761762
"""Parse an arbitrary channels URL.
@@ -769,7 +770,7 @@ def channels_url_config(cls, url, backend=None):
769770
"""
770771
config = {}
771772
url = urlparse(url) if not isinstance(url, cls.URL_CLASS) else url
772-
773+
773774
if backend:
774775
config["BACKEND"] = backend
775776
elif url.scheme not in cls.CHANNELS_SCHEMES:
@@ -856,7 +857,7 @@ def search_url_config(cls, url, engine=None):
856857
:param urllib.parse.ParseResult or str url:
857858
Search URL to parse.
858859
:param str or None engine:
859-
If None, the engine is evaluates from the ``url``.
860+
If None, the engine is evaluating from the ``url``.
860861
:return: Parsed search URL.
861862
:rtype: dict
862863
"""

0 commit comments

Comments
 (0)