Commit 2c611f2c authored by Raphaël Hertzog's avatar Raphaël Hertzog

Fix docstrings that embed their signature

parent 6e32bf78
Pipeline #36739 passed with stage
in 35 minutes and 27 seconds
......@@ -251,7 +251,7 @@ def verify_signature(content):
def now(tz=datetime.timezone.utc):
Returns in the requested timezone (UTC by default)
Returns the current timestamp in the requested timezone (UTC by default)
and can be easily mocked out for tests.
......@@ -188,7 +188,7 @@ class UserEmailManager(models.Manager):
def get_or_create(self, *args, **kwargs):
Replaces the default get_or_create() with one that matches
Replaces the default method with one that matches
the email case-insensitively.
defaults = kwargs.get('defaults', {})
......@@ -104,9 +104,7 @@ ignore =
# First line should end with a period
# First line should be in imperative mood
# First line should not be the function's "signature"
enable-extensions = G
application-import-names = distro_tracker,django_email_accounts
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment