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,24 +7,44 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0005_auto_20171006_2033'),
]
dependencies = [("map", "0005_auto_20171006_2033")]
operations = [
migrations.AlterField(
model_name='casestudy',
name='location_context',
field=models.CharField(choices=[('RUR', 'Rural'), ('URB', 'Urban')], help_text='Select the context that is most applicable to this case study.', max_length=3, verbose_name='Location'),
model_name="casestudy",
name="location_context",
field=models.CharField(
choices=[("RUR", "Rural"), ("URB", "Urban")],
help_text="Select the context that is most applicable to this case study.",
max_length=3,
verbose_name="Location",
),
),
migrations.AlterField(
model_name='casestudy',
name='positive_or_negative',
field=models.CharField(choices=[('P', 'Positive'), ('N', 'Negative')], help_text='Is the case study a positive case or a negative case?', max_length=1, verbose_name='Positive or negative?'),
model_name="casestudy",
name="positive_or_negative",
field=models.CharField(
choices=[("P", "Positive"), ("N", "Negative")],
help_text="Is the case study a positive case or a negative case?",
max_length=1,
verbose_name="Positive or negative?",
),
),
migrations.AlterField(
model_name='casestudy',
name='sector_of_economy',
field=models.CharField(choices=[('Renewable Energy Generation', (('WND', 'Wind'), ('SOL', 'Solar'), ('HYD', 'Hydro'))), ('PG', 'Power Grids'), ('SM', 'Supply of Minerals')], help_text='Which sector of the renewable energy economy is most relevant?', max_length=3, verbose_name='Sector of economy'),
model_name="casestudy",
name="sector_of_economy",
field=models.CharField(
choices=[
(
"Renewable Energy Generation",
(("WND", "Wind"), ("SOL", "Solar"), ("HYD", "Hydro")),
),
("PG", "Power Grids"),
("SM", "Supply of Minerals"),
],
help_text="Which sector of the renewable energy economy is most relevant?",
max_length=3,
verbose_name="Sector of economy",
),
),
]