Projet

Général

Profil

0007-misc-fix-line-too-long-pylint-error-56288.patch

Lauréline Guérin, 30 août 2021 17:53

Télécharger (2,36 ko)

Voir les différences:

Subject: [PATCH 07/31] misc: fix line-too-long pylint error (#56288)

 combo/data/migrations/0013_parameterscell.py | 6 +++++-
 combo/settings.py                            | 5 ++++-
 2 files changed, 9 insertions(+), 2 deletions(-)
combo/data/migrations/0013_parameterscell.py
32 32
                    'parameters',
33 33
                    JSONField(
34 34
                        default=dict,
35
                        help_text='Must be a JSON list, containing dictionaries with 3 keys: name, value and optionnally roles; name must be a string, value must be a dictionary and roles must a list of role names. Role names limit the visibility of the choice.',
35
                        help_text=(
36
                            'Must be a JSON list, containing dictionaries with 3 keys: name, value and optionnally roles; '
37
                            'name must be a string, value must be a dictionary and roles must a list of role names. '
38
                            'Role names limit the visibility of the choice.'
39
                        ),
36 40
                        verbose_name='Parameters',
37 41
                        blank=True,
38 42
                    ),
combo/settings.py
291 291
COMBO_MAP_TILE_URLTEMPLATE = 'https://tiles.entrouvert.org/hdm/{z}/{x}/{y}.png'
292 292

  
293 293
# default combo map attribution
294
COMBO_MAP_ATTRIBUTION = 'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
294
COMBO_MAP_ATTRIBUTION = (
295
    'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors, '
296
    '<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
297
)
295 298

  
296 299
# send notifications about new invoices
297 300
LINGO_INVOICE_NOTIFICATIONS_ENABLED = True
298
-