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

@ -7,14 +7,38 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0010_auto_20171011_1606'),
]
dependencies = [("map", "0010_auto_20171011_1606")]
operations = [
migrations.AddField(
model_name='casestudy',
name='generation_technology',
field=models.CharField(blank=True, choices=[('SSWE', 'Small-scale wind energy (less than 500kW)'), ('LSWE', 'Large-scale wind energy (more than 500kW)'), ('SSPV', 'Small-scale photovoltaic electricity (less than 500kW)'), ('LSPV', 'Large-scale photovoltaic electricity (more than 500kW)'), ('STHE', 'Solar thermal electricity (e.g using parabolic reflectors)'), ('SHYD', 'Small hydroelectric (less than 1MW)'), ('MHYD', 'Medium hydroelectric (between 1-20MW)'), ('LHYD', 'Large hydroelectric (more than 20MW - often not considered renewable)'), ('GEOT', 'Geothermal electricity'), ('BIOG', 'Biogas turbine'), ('OTHB', 'Other biomass (including liquid/solid biofuel)')], default=None, help_text='Select the type of renewable energy generation that most applies to this case study.', max_length=4, null=True, verbose_name='Generation technology'),
),
model_name="casestudy",
name="generation_technology",
field=models.CharField(
blank=True,
choices=[
("SSWE", "Small-scale wind energy (less than 500kW)"),
("LSWE", "Large-scale wind energy (more than 500kW)"),
("SSPV", "Small-scale photovoltaic electricity (less than 500kW)"),
("LSPV", "Large-scale photovoltaic electricity (more than 500kW)"),
(
"STHE",
"Solar thermal electricity (e.g using parabolic reflectors)",
),
("SHYD", "Small hydroelectric (less than 1MW)"),
("MHYD", "Medium hydroelectric (between 1-20MW)"),
(
"LHYD",
"Large hydroelectric (more than 20MW - often not considered renewable)",
),
("GEOT", "Geothermal electricity"),
("BIOG", "Biogas turbine"),
("OTHB", "Other biomass (including liquid/solid biofuel)"),
],
default=None,
help_text="Select the type of renewable energy generation that most applies to this case study.",
max_length=4,
null=True,
verbose_name="Generation technology",
),
)
]