Test Failed
Push — master ( 504214...a7ebe7 )
by Alex
02:02
created

snakelet.storage.query.Query.limit()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
class Query:
0 ignored issues
show
Coding Style introduced by
This module should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
Coding Style introduced by
This class should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
Unused Code introduced by
The variable __class__ seems to be unused.
Loading history...
2
    # TODO: Build a structure that extends the current cursor and allows for objectification
0 ignored issues
show
Coding Style introduced by
TODO and FIXME comments should generally be avoided.
Loading history...
3
4
    # constructor
5
    def __init__(self, query):
6
        self.query = query
7
8
    # destructor
9
    def __del__(self):
10
        pass
11
12
    # types
13
    def __bool__(self):
14
        pass
15
16
    def __bytes__(self):
17
        pass
18
19
    def __str__(self):
20
        pass
21
22
    # conversions
23
    def __format__(self, format_spec):
24
        pass
25
26
    def __repr__(self):
27
        pass
28
29
    # comparisons
30
    def __lt__(self, other):
31
        pass
32
33
    def __le__(self, other):
34
        pass
35
36
    def __eq__(self, other):
37
        pass
38
39
    def __ne__(self, other):
40
        pass
41
42
    def __gt__(self, other):
43
        pass
44
45
    def __ge__(self, other):
46
        pass
47
48
    # iterations
49
    def __len__(self):
50
        pass
51
52
    def __contains__(self, item):
53
        pass
54
55
    def __next__(self):
56
        pass
57
58
    def __reversed__(self):
59
        pass
60
61
    # chain wrappers
62
    def count(self):
0 ignored issues
show
Coding Style introduced by
This method should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
63
        pass
64
65
    def limit(self):
0 ignored issues
show
Coding Style introduced by
This method should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
66
        pass
67
68
    def sort(self):
0 ignored issues
show
Coding Style introduced by
This method should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
69
        pass
70