mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
f81b1751ce
commit
5439084c84
63 files changed
+105
-82
No files matched your search
@@ -27,7 +27,7 @@ from plinth import app as app_module
|
||||
from plinth import cfg, menu
|
||||
from plinth.utils import format_lazy
|
||||
|
||||
from .manifest import backup
|
||||
from .manifest import backup # noqa, pylint: disable=unused-import
|
||||
|
||||
version = 1
|
||||
|
||||
|
||||
@@ -75,5 +75,5 @@ class AddShareForm(forms.Form):
|
||||
groups = self.cleaned_data.get('groups')
|
||||
if not is_public and not groups:
|
||||
raise forms.ValidationError(
|
||||
_('Shares should be either public or shared with at least one group'
|
||||
))
|
||||
_('Shares should be either public or shared with at '
|
||||
'least one group'))
|
||||
Reference in new issue
Block a user