Add flake8-bugbear to pre-commit.
This commit is contained in:
@@ -24,7 +24,10 @@ class Migration(migrations.Migration):
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#E74C3C",
|
||||
help_text="(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: #3498DB)", # noqa: E501
|
||||
help_text=(
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, "
|
||||
"green: #2ECC71, blue: #3498DB)"
|
||||
),
|
||||
max_length=10,
|
||||
verbose_name="color",
|
||||
),
|
||||
|
||||
@@ -116,7 +116,8 @@ class Theme(models.Model):
|
||||
blank=True,
|
||||
default="#E74C3C",
|
||||
help_text=_(
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: #3498DB)" # noqa: E501
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, "
|
||||
"green: #2ECC71, blue: #3498DB)"
|
||||
),
|
||||
max_length=10,
|
||||
verbose_name=_("color"),
|
||||
|
||||
Reference in New Issue
Block a user