mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Pylint compliance on search
This commit is contained in:
parent
2ca271bf82
commit
595c6b99fa
3 changed files with 8 additions and 2 deletions
|
@ -20,5 +20,8 @@
|
|||
# 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.,
|
||||
# 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 *
|
||||
|
|
|
@ -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.
|
||||
|
||||
Args:
|
||||
|
|
|
@ -19,7 +19,10 @@
|
|||
# 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.,
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue