Run black over entire codebase

This commit is contained in:
2019-08-19 23:55:53 +02:00
parent fc7a9621a7
commit e3e3f6d5db
112 changed files with 8240 additions and 3214 deletions
+199 -15
View File
@@ -7,30 +7,214 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('map', '0034_auto_20171103_2254'),
]
dependencies = [("map", "0034_auto_20171103_2254")]
operations = [
migrations.AlterField(
model_name='casestudy',
name='completion_year',
field=models.IntegerField(blank=True, choices=[(1978, 1978), (1979, 1979), (1980, 1980), (1981, 1981), (1982, 1982), (1983, 1983), (1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025), (2026, 2026), (2027, 2027), (2028, 2028), (2029, 2029), (2030, 2030), (2031, 2031), (2032, 2032), (2033, 2033), (2034, 2034), (2035, 2035), (2036, 2036), (2037, 2037), (2038, 2038), (2039, 2039), (2040, 2040), (2041, 2041), (2042, 2042), (2043, 2043), (2044, 2044), (2045, 2045), (2046, 2046), (2047, 2047), (2048, 2048), (2049, 2049), (2050, 2050), (2051, 2051), (2052, 2052), (2053, 2053), (2054, 2054), (2055, 2055), (2056, 2056), (2057, 2057), (2058, 2058)], default=None, help_text="Select the year the project was completed. If the project hasn't finished, select the projected completion year.", null=True, verbose_name='Completion year'),
model_name="casestudy",
name="completion_year",
field=models.IntegerField(
blank=True,
choices=[
(1978, 1978),
(1979, 1979),
(1980, 1980),
(1981, 1981),
(1982, 1982),
(1983, 1983),
(1984, 1984),
(1985, 1985),
(1986, 1986),
(1987, 1987),
(1988, 1988),
(1989, 1989),
(1990, 1990),
(1991, 1991),
(1992, 1992),
(1993, 1993),
(1994, 1994),
(1995, 1995),
(1996, 1996),
(1997, 1997),
(1998, 1998),
(1999, 1999),
(2000, 2000),
(2001, 2001),
(2002, 2002),
(2003, 2003),
(2004, 2004),
(2005, 2005),
(2006, 2006),
(2007, 2007),
(2008, 2008),
(2009, 2009),
(2010, 2010),
(2011, 2011),
(2012, 2012),
(2013, 2013),
(2014, 2014),
(2015, 2015),
(2016, 2016),
(2017, 2017),
(2018, 2018),
(2019, 2019),
(2020, 2020),
(2021, 2021),
(2022, 2022),
(2023, 2023),
(2024, 2024),
(2025, 2025),
(2026, 2026),
(2027, 2027),
(2028, 2028),
(2029, 2029),
(2030, 2030),
(2031, 2031),
(2032, 2032),
(2033, 2033),
(2034, 2034),
(2035, 2035),
(2036, 2036),
(2037, 2037),
(2038, 2038),
(2039, 2039),
(2040, 2040),
(2041, 2041),
(2042, 2042),
(2043, 2043),
(2044, 2044),
(2045, 2045),
(2046, 2046),
(2047, 2047),
(2048, 2048),
(2049, 2049),
(2050, 2050),
(2051, 2051),
(2052, 2052),
(2053, 2053),
(2054, 2054),
(2055, 2055),
(2056, 2056),
(2057, 2057),
(2058, 2058),
],
default=None,
help_text="Select the year the project was completed. If the project hasn't finished, select the projected completion year.",
null=True,
verbose_name="Completion year",
),
),
migrations.AlterField(
model_name='casestudy',
name='shown_on_other_platforms',
field=models.BooleanField(default=False, help_text='Tick the box if you would like us to show this case study on other social media platforms', verbose_name='Show on other platforms?'),
model_name="casestudy",
name="shown_on_other_platforms",
field=models.BooleanField(
default=False,
help_text="Tick the box if you would like us to show this case study on other social media platforms",
verbose_name="Show on other platforms?",
),
preserve_default=False,
),
migrations.AlterField(
model_name='casestudy',
name='start_year',
field=models.IntegerField(blank=True, choices=[(1978, 1978), (1979, 1979), (1980, 1980), (1981, 1981), (1982, 1982), (1983, 1983), (1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025), (2026, 2026), (2027, 2027), (2028, 2028), (2029, 2029), (2030, 2030), (2031, 2031), (2032, 2032), (2033, 2033), (2034, 2034), (2035, 2035), (2036, 2036), (2037, 2037), (2038, 2038), (2039, 2039), (2040, 2040), (2041, 2041), (2042, 2042), (2043, 2043), (2044, 2044), (2045, 2045), (2046, 2046), (2047, 2047), (2048, 2048), (2049, 2049), (2050, 2050), (2051, 2051), (2052, 2052), (2053, 2053), (2054, 2054), (2055, 2055), (2056, 2056), (2057, 2057), (2058, 2058)], default=None, help_text="Select the year the project was started. If the project hasn't begun, select the projected start year.", null=True, verbose_name='Start year'),
model_name="casestudy",
name="start_year",
field=models.IntegerField(
blank=True,
choices=[
(1978, 1978),
(1979, 1979),
(1980, 1980),
(1981, 1981),
(1982, 1982),
(1983, 1983),
(1984, 1984),
(1985, 1985),
(1986, 1986),
(1987, 1987),
(1988, 1988),
(1989, 1989),
(1990, 1990),
(1991, 1991),
(1992, 1992),
(1993, 1993),
(1994, 1994),
(1995, 1995),
(1996, 1996),
(1997, 1997),
(1998, 1998),
(1999, 1999),
(2000, 2000),
(2001, 2001),
(2002, 2002),
(2003, 2003),
(2004, 2004),
(2005, 2005),
(2006, 2006),
(2007, 2007),
(2008, 2008),
(2009, 2009),
(2010, 2010),
(2011, 2011),
(2012, 2012),
(2013, 2013),
(2014, 2014),
(2015, 2015),
(2016, 2016),
(2017, 2017),
(2018, 2018),
(2019, 2019),
(2020, 2020),
(2021, 2021),
(2022, 2022),
(2023, 2023),
(2024, 2024),
(2025, 2025),
(2026, 2026),
(2027, 2027),
(2028, 2028),
(2029, 2029),
(2030, 2030),
(2031, 2031),
(2032, 2032),
(2033, 2033),
(2034, 2034),
(2035, 2035),
(2036, 2036),
(2037, 2037),
(2038, 2038),
(2039, 2039),
(2040, 2040),
(2041, 2041),
(2042, 2042),
(2043, 2043),
(2044, 2044),
(2045, 2045),
(2046, 2046),
(2047, 2047),
(2048, 2048),
(2049, 2049),
(2050, 2050),
(2051, 2051),
(2052, 2052),
(2053, 2053),
(2054, 2054),
(2055, 2055),
(2056, 2056),
(2057, 2057),
(2058, 2058),
],
default=None,
help_text="Select the year the project was started. If the project hasn't begun, select the projected start year.",
null=True,
verbose_name="Start year",
),
),
migrations.AlterField(
model_name='casestudy',
name='wants_conversation_with_ojuso',
field=models.BooleanField(default=True, help_text='This would be a conversation about challenging or engaging related developers, companies and investors.', verbose_name='Would you like to have a conversation with the ojuso team?'),
model_name="casestudy",
name="wants_conversation_with_ojuso",
field=models.BooleanField(
default=True,
help_text="This would be a conversation about challenging or engaging related developers, companies and investors.",
verbose_name="Would you like to have a conversation with the ojuso team?",
),
),
]