8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

Pylint compliance on search

This commit is contained in:
Maël Kervella 2018-04-14 21:44:00 +00:00
parent 2ca271bf82
commit 595c6b99fa
3 changed files with 8 additions and 2 deletions

View file

@ -20,5 +20,8 @@
# You should have received a copy of the GNU General Public License along # You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""search
The app in charge of evrything related to the search function
"""
from .acl import * from .acl import *

View file

@ -27,7 +27,7 @@ Here are defined some functions to check acl on the application.
""" """
def can_view(user): def can_view(_user):
"""Check if an user can view the application. """Check if an user can view the application.
Args: Args:

View file

@ -19,7 +19,10 @@
# You should have received a copy of the GNU General Public License along # You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""search.tests
The tests for the Search module.
"""
from django.test import TestCase # from django.test import TestCase
# Create your tests here. # Create your tests here.