()
| 43 | models.Customer.id.asc() |
| 44 | ).all() |
| 45 | def long_lines(): |
| 46 | if True: |
| 47 | typedargslist.extend( |
| 48 | gen_annotated_params(ast_args.kwonlyargs, ast_args.kw_defaults, parameters, implicit_default=True) |
| 49 | ) |
| 50 | typedargslist.extend( |
| 51 | gen_annotated_params( |
| 52 | ast_args.kwonlyargs, ast_args.kw_defaults, parameters, implicit_default=True, |
| 53 | # trailing standalone comment |
| 54 | ) |
| 55 | ) |
| 56 | _type_comment_re = re.compile( |
| 57 | r""" |
| 58 | ^ |
| 59 | [\t ]* |
| 60 | \#[ ]type:[ ]* |
| 61 | (?P<type> |
| 62 | [^#\t\n]+? |
| 63 | ) |
| 64 | (?<!ignore) # note: this will force the non-greedy + in <type> to match |
| 65 | # a trailing space which is why we need the silliness below |
| 66 | (?<!ignore[ ]{1})(?<!ignore[ ]{2})(?<!ignore[ ]{3})(?<!ignore[ ]{4}) |
| 67 | (?<!ignore[ ]{5})(?<!ignore[ ]{6})(?<!ignore[ ]{7})(?<!ignore[ ]{8}) |
| 68 | (?<!ignore[ ]{9})(?<!ignore[ ]{10}) |
| 69 | [\t ]* |
| 70 | (?P<nl> |
| 71 | (?:\#[^\n]*)? |
| 72 | \n? |
| 73 | ) |
| 74 | $ |
| 75 | """, re.MULTILINE | re.VERBOSE |
| 76 | ) |
| 77 | def trailing_comma(): |
| 78 | mapping = { |
| 79 | A: 0.25 * (10.0 / 12), |
nothing calls this directly
no outgoing calls
no test coverage detected