• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

basilisp-lang / basilisp / 5697667142

29 Jul 2023 01:09AM UTC coverage: 99.159%. First build
5697667142

push

github

chrisrink10
Use Tox 4.0 run command

1634 of 1636 branches covered (99.88%)

Branch coverage included in aggregate %.

7686 of 7763 relevant lines covered (99.01%)

0.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.48
/src/basilisp/_pyast.py
1
import sys
1✔
2
from ast import Ellipsis  # pylint: disable=redefined-builtin
1✔
3
from ast import slice  # pylint: disable=redefined-builtin
1✔
4
from ast import (
1✔
5
    AST,
6
    Add,
7
    And,
8
    AnnAssign,
9
    Assert,
10
    Assign,
11
    AsyncFor,
12
    AsyncFunctionDef,
13
    AsyncWith,
14
    Attribute,
15
    AugAssign,
16
    AugLoad,
17
    AugStore,
18
    Await,
19
    BinOp,
20
    BitAnd,
21
    BitOr,
22
    BitXor,
23
    BoolOp,
24
    Break,
25
    Bytes,
26
    Call,
27
    ClassDef,
28
    Compare,
29
    Constant,
30
    Continue,
31
    Del,
32
    Delete,
33
    Dict,
34
    DictComp,
35
    Div,
36
    Eq,
37
    ExceptHandler,
38
    Expr,
39
    Expression,
40
    ExtSlice,
41
    FloorDiv,
42
    For,
43
    FormattedValue,
44
    FunctionDef,
45
    GeneratorExp,
46
    Global,
47
    Gt,
48
    GtE,
49
    If,
50
    IfExp,
51
    Import,
52
    ImportFrom,
53
    In,
54
    Index,
55
    Invert,
56
    Is,
57
    IsNot,
58
    JoinedStr,
59
    Lambda,
60
    List,
61
    ListComp,
62
    Load,
63
    LShift,
64
    Lt,
65
    LtE,
66
    MatMult,
67
    Mod,
68
)
69
from ast import Module as _Module  # noqa
1✔
70
from ast import (
1✔
71
    Mult,
72
    Name,
73
    NameConstant,
74
    NodeTransformer,
75
    NodeVisitor,
76
    Nonlocal,
77
    Not,
78
    NotEq,
79
    NotIn,
80
    Num,
81
    Or,
82
    Param,
83
    Pass,
84
    Pow,
85
    Raise,
86
    Return,
87
    RShift,
88
    Set,
89
    SetComp,
90
    Slice,
91
    Starred,
92
    Store,
93
    Str,
94
    Sub,
95
    Subscript,
96
    Suite,
97
    Try,
98
    Tuple,
99
    UAdd,
100
    UnaryOp,
101
    USub,
102
    While,
103
    With,
104
    Yield,
105
    YieldFrom,
106
    alias,
107
    arg,
108
)
109
from ast import arguments as _arguments
1✔
110
from ast import (
1✔
111
    boolop,
112
    cmpop,
113
    comprehension,
114
    copy_location,
115
    dump,
116
    excepthandler,
117
    expr,
118
    expr_context,
119
    fix_missing_locations,
120
    get_docstring,
121
    increment_lineno,
122
    iter_child_nodes,
123
    iter_fields,
124
    keyword,
125
    literal_eval,
126
    mod,
127
    operator,
128
    parse,
129
    stmt,
130
    unaryop,
131
    walk,
132
    withitem,
133
)
134

135
if sys.version_info >= (3, 8):
1✔
136

137
    class Module(_Module):
1✔
138
        def __init__(self, *args, **kwargs):
1✔
139
            kwargs["type_ignores"] = []
1✔
140
            super().__init__(*args, **kwargs)
1✔
141

142
    class arguments(_arguments):
1✔
143
        def __init__(self, *args, **kwargs):
1✔
144
            kwargs["posonlyargs"] = []
1✔
145
            super().__init__(*args, **kwargs)
1✔
146

147
else:
148
    Module = _Module
×
149
    arguments = _arguments
×
150

151

152
__all__ = [
1✔
153
    "AST",
154
    "Add",
155
    "And",
156
    "AnnAssign",
157
    "Assert",
158
    "Assign",
159
    "AsyncFor",
160
    "AsyncFunctionDef",
161
    "AsyncWith",
162
    "Attribute",
163
    "AugAssign",
164
    "AugLoad",
165
    "AugStore",
166
    "Await",
167
    "BinOp",
168
    "BitAnd",
169
    "BitOr",
170
    "BitXor",
171
    "BoolOp",
172
    "Break",
173
    "Bytes",
174
    "Call",
175
    "ClassDef",
176
    "Compare",
177
    "Constant",
178
    "Continue",
179
    "Del",
180
    "Delete",
181
    "Dict",
182
    "DictComp",
183
    "Div",
184
    "Ellipsis",
185
    "Eq",
186
    "ExceptHandler",
187
    "Expr",
188
    "Expression",
189
    "ExtSlice",
190
    "FloorDiv",
191
    "For",
192
    "FormattedValue",
193
    "FunctionDef",
194
    "GeneratorExp",
195
    "Global",
196
    "Gt",
197
    "GtE",
198
    "If",
199
    "IfExp",
200
    "Import",
201
    "ImportFrom",
202
    "In",
203
    "Index",
204
    "Invert",
205
    "Is",
206
    "IsNot",
207
    "JoinedStr",
208
    "LShift",
209
    "Lambda",
210
    "List",
211
    "ListComp",
212
    "Load",
213
    "Lt",
214
    "LtE",
215
    "MatMult",
216
    "Mod",
217
    "Module",
218
    "Mult",
219
    "Name",
220
    "NameConstant",
221
    "NodeTransformer",
222
    "NodeVisitor",
223
    "Nonlocal",
224
    "Not",
225
    "NotEq",
226
    "NotIn",
227
    "Num",
228
    "Or",
229
    "Param",
230
    "Pass",
231
    "Pow",
232
    "RShift",
233
    "Raise",
234
    "Return",
235
    "Set",
236
    "SetComp",
237
    "Slice",
238
    "Starred",
239
    "Store",
240
    "Str",
241
    "Sub",
242
    "Subscript",
243
    "Suite",
244
    "Try",
245
    "Tuple",
246
    "UAdd",
247
    "USub",
248
    "UnaryOp",
249
    "While",
250
    "With",
251
    "Yield",
252
    "YieldFrom",
253
    "alias",
254
    "arg",
255
    "arguments",
256
    "boolop",
257
    "cmpop",
258
    "copy_location",
259
    "comprehension",
260
    "dump",
261
    "excepthandler",
262
    "expr",
263
    "expr_context",
264
    "fix_missing_locations",
265
    "get_docstring",
266
    "increment_lineno",
267
    "iter_child_nodes",
268
    "iter_fields",
269
    "keyword",
270
    "literal_eval",
271
    "mod",
272
    "operator",
273
    "parse",
274
    "slice",
275
    "stmt",
276
    "unaryop",
277
    "walk",
278
    "withitem",
279
]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc