Skip to content

Commit

Permalink
Re-enable pylint missing-module-docstring check
Browse files Browse the repository at this point in the history
  • Loading branch information
dosaboy committed Aug 12, 2024
1 parent 743a6b2 commit 835ff03
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 2 deletions.
1 change: 0 additions & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ score=yes

[MESSAGES CONTROL]
disable=
missing-module-docstring,
missing-function-docstring,
1 change: 1 addition & 0 deletions searchkit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit interface. """
from .search import (
FileSearcher,
ResultFieldInfo,
Expand Down
6 changes: 6 additions & 0 deletions searchkit/constraints.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
""" Search constraints module.
Searchkit searches are by default unbound in that they will apply to every line
in a file or files. This may sometimes be inefficient or undesired and can be
controlled using one of the constraints implementations provided here.
"""
import abc
import re
import uuid
Expand Down
3 changes: 3 additions & 0 deletions searchkit/exception.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
""" Searchkit exceptions. """


class FileSearchException(Exception):
""" Exception raised when an error occurs during a file search. """
def __init__(self, msg):
Expand Down
2 changes: 1 addition & 1 deletion searchkit/log.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
""" Searchkit logging. """
import logging

log = logging.getLogger('searchkit')
Expand Down
1 change: 1 addition & 0 deletions searchkit/result.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Search result handlers. """
import abc
from functools import cached_property
from collections import UserList, UserDict
Expand Down
7 changes: 7 additions & 0 deletions searchkit/search.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
""" Search implementations.
Searchkit supports searching one or more file in parallel using multiple
processes to perform the searches and then collecting their results.
Searches can be single or multi-line.
"""
import abc
import concurrent.futures
import copy
Expand Down
1 change: 1 addition & 0 deletions searchkit/searchdef.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Search definitions implementations. """
import re
import uuid
from functools import cached_property
Expand Down
1 change: 1 addition & 0 deletions searchkit/task.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Search task implementations. """
import gzip
import multiprocessing
import os
Expand Down
1 change: 1 addition & 0 deletions searchkit/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Search utilities. """
import abc
import dbm
import os
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit package. """
from setuptools import setup

setup(name='searchkit')
1 change: 1 addition & 0 deletions tests/unit/test_search.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit unit tests. """
import glob
import os
import re
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_search_constraints.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit search constraints unit tests. """
import os
import re
import tempfile
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit utilities unit tests. """
import os
import tempfile

Expand Down
1 change: 1 addition & 0 deletions tests/unit/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
""" Searchkit unit tests utilities. """
import os
import unittest

Expand Down

0 comments on commit 835ff03

Please sign in to comment.