Styling
Ou comment faire plaisir à pylint sur les bouts de code concernés par cette MR
This commit is contained in:
parent
03f7dff813
commit
f93b095e0f
6 changed files with 77 additions and 41 deletions
|
@ -1,14 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Gestion en ligne de commande des mails de rappel.
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from datetime import timedelta
|
||||
from django.core.management.base import BaseCommand
|
||||
from django.utils import timezone
|
||||
from datetime import timedelta
|
||||
from bda.models import Spectacle
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
"""
|
||||
Objet Command, cf ``self.help`` pour plus d'informations.
|
||||
"""
|
||||
help = 'Envoie les mails de rappel des spectacles dont la date ' \
|
||||
'approche.\nNe renvoie pas les mails déjà envoyés.'
|
||||
leave_locale_alone = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue