PEP8 Cleanup (495 warnings).

This commit is contained in:
Roberto Rosario
2015-09-16 09:33:16 -04:00
parent 22ae0eca70
commit 60e64b92fd
31 changed files with 771 additions and 64 deletions
@@ -14,10 +14,28 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='SourceLog',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('datetime', models.DateTimeField(auto_now_add=True, verbose_name='Date time')),
('message', models.TextField(verbose_name='Message', editable=False, blank=True)),
('source', models.ForeignKey(related_name='logs', verbose_name='Source', to='sources.Source')),
(
'id', models.AutoField(
verbose_name='ID', serialize=False, auto_created=True,
primary_key=True
)
),
(
'datetime', models.DateTimeField(
auto_now_add=True, verbose_name='Date time'
)
),
(
'message', models.TextField(
verbose_name='Message', editable=False, blank=True
)
),
(
'source', models.ForeignKey(
related_name='logs', verbose_name='Source',
to='sources.Source'
)
),
],
options={
'ordering': ['-datetime'],
@@ -14,7 +14,12 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='emailbasemodel',
name='metadata_attachment_name',
field=models.CharField(default='metadata.yaml', help_text='Name of the attachment that will contains the metadata types and values to be assigned to the rest of the downloaded attachments.', max_length=128, verbose_name='Metadata attachment name'),
field=models.CharField(
default='metadata.yaml', help_text='Name of the attachment '
'that will contains the metadata types and values to be '
'assigned to the rest of the downloaded attachments.',
max_length=128, verbose_name='Metadata attachment name'
),
preserve_default=True,
),
]
@@ -14,7 +14,13 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='emailbasemodel',
name='metadata_attachment_name',
field=models.CharField(default='metadata.yaml', help_text='Name of the attachment that will contains the metadata type names and value pairs to be assigned to the rest of the downloaded attachments. Note: This attachment has to be the first attachment.', max_length=128, verbose_name='Metadata attachment name'),
field=models.CharField(
default='metadata.yaml', help_text='Name of the attachment '
'that will contains the metadata type names and value pairs '
'to be assigned to the rest of the downloaded attachments. '
'Note: This attachment has to be the first attachment.',
max_length=128, verbose_name='Metadata attachment name'
),
preserve_default=True,
),
]