Add flake8 to gitlib-ci - closes #58

And fix the rest of the flake8 errors.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Nikolas Nyby authored and Sunil Mohan Adapa committed 2019-07-25 11:07:06 -07:00
1 parent f81b1751ce
commit 5439084c84
63 files changed
+105 -82

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ from plinth import actions
from plinth import app as app_module
from plinth import menu
from .manifest import backup
from .manifest import backup # noqa, pylint: disable=unused-import
version = 6
+3 -3
View File
@@ -33,6 +33,6 @@ class SecurityForm(forms.Form):
'without further authorization.'))
fail2ban_enabled = forms.BooleanField(
label=_('Fail2Ban (recommended)'), required=False,
help_text=_('When this option is enabled, Fail2Ban will limit brute force '
'break-in attempts to the SSH server and other enabled '
'password protected internet-services.'))
help_text=_('When this option is enabled, Fail2Ban will limit '
'brute force break-in attempts to the SSH server and '
'other enabled password protected internet-services.'))