Run black over entire codebase

This commit is contained in:
2019-08-19 23:37:32 +02:00
parent fc7a9621a7
commit e3e3f6d5db
112 changed files with 8240 additions and 3214 deletions

View File

@ -5,44 +5,79 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0072_auto_20181201_2315'),
]
dependencies = [("map", "0072_auto_20181201_2315")]
operations = [
migrations.AlterField(
model_name='casestudy',
name='approximate_total_investment',
field=models.PositiveIntegerField(blank=True, default=None, help_text='Enter the approximate total investment in USD ($).', null=True, verbose_name='DELETE - Approximate total investment'),
model_name="casestudy",
name="approximate_total_investment",
field=models.PositiveIntegerField(
blank=True,
default=None,
help_text="Enter the approximate total investment in USD ($).",
null=True,
verbose_name="DELETE - Approximate total investment",
),
),
migrations.AlterField(
model_name='casestudy',
name='discharge_time',
field=models.DecimalField(blank=True, decimal_places=3, help_text='Enter the time it takes to discharge from full capacity at maximum power output (in hours).', max_digits=6, null=True, verbose_name='DELETE - Time for discharge from full capacity'),
model_name="casestudy",
name="discharge_time",
field=models.DecimalField(
blank=True,
decimal_places=3,
help_text="Enter the time it takes to discharge from full capacity at maximum power output (in hours).",
max_digits=6,
null=True,
verbose_name="DELETE - Time for discharge from full capacity",
),
),
migrations.AlterField(
model_name='casestudy',
name='generation_equipment_supplier',
field=models.TextField(blank=True, help_text='Enter the supplier of the generation equipment. (E.g. Siemens Gamesa, GE, Alstom, Vestas, Hanwha Q CELLS, Mitsubishi, First Solar, Jinko Solar, Trina Solar, Suzlon Energy, Statkraft, Shanghai Electric, Ballard Power Systems, Panasonic, etc.)', verbose_name='DELETE - Generation equipment supplier(s)'),
model_name="casestudy",
name="generation_equipment_supplier",
field=models.TextField(
blank=True,
help_text="Enter the supplier of the generation equipment. (E.g. Siemens Gamesa, GE, Alstom, Vestas, Hanwha Q CELLS, Mitsubishi, First Solar, Jinko Solar, Trina Solar, Suzlon Energy, Statkraft, Shanghai Electric, Ballard Power Systems, Panasonic, etc.)",
verbose_name="DELETE - Generation equipment supplier(s)",
),
),
migrations.AlterField(
model_name='casestudy',
name='maximum_power_output',
field=models.DecimalField(blank=True, decimal_places=3, help_text='Enter the maximum power output of the storage system in kilowatts (kW).', max_digits=12, null=True, verbose_name='DELETE - Maximum power output'),
model_name="casestudy",
name="maximum_power_output",
field=models.DecimalField(
blank=True,
decimal_places=3,
help_text="Enter the maximum power output of the storage system in kilowatts (kW).",
max_digits=12,
null=True,
verbose_name="DELETE - Maximum power output",
),
),
migrations.AlterField(
model_name='casestudy',
name='people_affected_indigenous',
field=models.TextField(blank=True, help_text='What group or groups of indigenous people are affected by this project? Please separate by newline.', verbose_name='DELETE - Indigenous people affected'),
model_name="casestudy",
name="people_affected_indigenous",
field=models.TextField(
blank=True,
help_text="What group or groups of indigenous people are affected by this project? Please separate by newline.",
verbose_name="DELETE - Indigenous people affected",
),
),
migrations.AlterField(
model_name='casestudy',
name='potential_partnerships',
field=models.CharField(blank=True, help_text='Are you looking for partnerships or do you have any clearly identified need? If so, please describe it here.', max_length=512, verbose_name='DELETE - Describe potential partnerships'),
model_name="casestudy",
name="potential_partnerships",
field=models.CharField(
blank=True,
help_text="Are you looking for partnerships or do you have any clearly identified need? If so, please describe it here.",
max_length=512,
verbose_name="DELETE - Describe potential partnerships",
),
),
migrations.AlterField(
model_name='casestudy',
name='technical_or_economic_details',
field=models.TextField(blank=True, help_text='Specify any additional technical or economic details relating to the project.', verbose_name='DELETE - Additional technical or economic details'),
model_name="casestudy",
name="technical_or_economic_details",
field=models.TextField(
blank=True,
help_text="Specify any additional technical or economic details relating to the project.",
verbose_name="DELETE - Additional technical or economic details",
),
),
]