Bump flake8 to 5.0

This commit is contained in:
Raphael Michel
2022-09-20 10:37:57 +02:00
parent 167eb85aa3
commit 857f56c286
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ def render_label(content, label_for=None, label_class=None, label_title='', labe
# usually checkboxes have overall empty labels and special labels per checkbox
# => remove for-attribute as well as "required"-text appended to label
if 'for' in attrs:
del(attrs['for'])
del attrs['for']
else:
opt += '<i class="sr-only label-required">, {}</i>'.format(pgettext('form', 'required')) if not optional else ''

View File

@@ -239,13 +239,13 @@ setup(
'coverage',
'coveralls',
'django-debug-toolbar==3.5.*',
'flake8==4.0.*',
'flake8==5.0.*',
'freezegun',
'isort==5.10.*',
'pep8-naming==0.12.*',
'potypo',
'pycodestyle==2.8.*',
'pyflakes==2.4.*',
'pycodestyle==2.9.*',
'pyflakes==2.5.*',
'pytest-cache',
'pytest-cov',
'pytest-django==4.*',