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,19 +7,45 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0038_auto_20180328_0146'),
]
dependencies = [("map", "0038_auto_20180328_0146")]
operations = [
migrations.AlterField(
model_name='casestudy',
name='type_of_extraction',
field=models.CharField(blank=True, choices=[('SUR', 'Surface (open pit/open cast/open cut mining'), ('SUB', 'Sub-surface (underground mining)'), ('SEA', 'Seabed mining'), ('URB', 'Urban mining/recycling')], default=None, max_length=3, null=True, verbose_name='Type of extraction'),
model_name="casestudy",
name="type_of_extraction",
field=models.CharField(
blank=True,
choices=[
("SUR", "Surface (open pit/open cast/open cut mining"),
("SUB", "Sub-surface (underground mining)"),
("SEA", "Seabed mining"),
("URB", "Urban mining/recycling"),
],
default=None,
max_length=3,
null=True,
verbose_name="Type of extraction",
),
),
migrations.AlterField(
model_name='casestudy',
name='use_in_energy_economy',
field=models.CharField(blank=True, choices=[('WTM', 'Wind turbine manufacturing'), ('SPM', 'Solar panel manufacturing'), ('STM', 'Solar thermal system manufacturing'), ('HGM', 'Hydropower generator manufacturing'), ('GGM', 'Geothermal generator manufacturing'), ('ESS', 'Energy storage (inc. battery systems)'), ('OTR', 'Others')], default=None, help_text='Select the potential use of the minerals in the renewable energy economy', max_length=3, null=True, verbose_name='Potential use in renewable energy economy'),
model_name="casestudy",
name="use_in_energy_economy",
field=models.CharField(
blank=True,
choices=[
("WTM", "Wind turbine manufacturing"),
("SPM", "Solar panel manufacturing"),
("STM", "Solar thermal system manufacturing"),
("HGM", "Hydropower generator manufacturing"),
("GGM", "Geothermal generator manufacturing"),
("ESS", "Energy storage (inc. battery systems)"),
("OTR", "Others"),
],
default=None,
help_text="Select the potential use of the minerals in the renewable energy economy",
max_length=3,
null=True,
verbose_name="Potential use in renewable energy economy",
),
),
]