diff --git a/README.org b/README.org index cf5dfc3..e3a28ec 100644 --- a/README.org +++ b/README.org @@ -3,12 +3,23 @@ Each of these tools present a high-level command-line interface to extract a specific subset of information from a SARIF file. The format of each tool's - /output/ is versioned and, as much as possible, independent of the input. + /output/ will be versioned and, as much as possible, independent of the input. - It is the intent of these tools to - - hide the internals of sarif when /used/ - - provide examples of extracting information from SARIF files /while writing - your own/ or extending the tools + For human use and to fit with existing tools, the default output format is + line-oriented and resembles compiler error formatting. + + The goal of this tool set is to support working with sarif files + - at the shell / file level, + - across multiple versions of the same sarif result set, + - and across many repositories. + + The implementation language is Python, but that is a detail. The scripts should + work well when used with other shell tools, especially =diff= and =git=. + + # It is the intent of these tools to + # - hide the internals of sarif when /used/, + # - provide examples of extracting information from SARIF files /while writing + # your own/ or extending the tools. * Setup for development This repository uses =git lfs= for some larger files; installation steps are at diff --git a/bin/sarif-results-summary b/bin/sarif-results-summary index ea06e25..407438f 100755 --- a/bin/sarif-results-summary +++ b/bin/sarif-results-summary @@ -12,6 +12,8 @@ parser.add_argument('-s', '--list-source', metavar='srcroot', type=str, help='list source snippets using srcroot as sarif SRCROOT') parser.add_argument('-r', '--related-locations', action="store_true", help='list related locations like "hides [parameter](1)"') +parser.add_argument('-e', '--endpoints-only', action="store_true", + help='only list source and sink, dropping the path. Identical, successive source/sink pairs are combined') # TODO mutually exclusive options parser.add_argument('-c', '--csv', action="store_true", help='output csv instead of human-readable summary') @@ -59,7 +61,6 @@ for runi in S.indices(sarif_struct, 'runs'): for line, line_num in zip(lines, range(l1, l2+1)): S.display_underlined(l1, c1, l2, c2, line, line_num) if args.related_locations: - # Full path: S.get(sarif_struct, 'runs', runi, 'results', resi, 'relatedLocations') relatedLocations = result.get('relatedLocations', None) if type(relatedLocations) == list: # Linking is explicit in output, so no need to get id(s) from message string. @@ -89,15 +90,37 @@ for runi in S.indices(sarif_struct, 'runs'): S.display_underlined(l1, c1, l2, c2, line, line_num) if 'codeFlows' in result: # Path problems + last_codeFlow = None for codefi in S.indices(result, 'codeFlows'): codeFlow = S.get(result, 'codeFlows', codefi) if args.csv: S.write_csv(cw, "path", codefi) else: S.msg("PATH %d\n" % codefi) + for threadi in S.indices(codeFlow, 'threadFlows'): threadFlow = S.get(codeFlow, 'threadFlows', threadi) - for loci in S.indices(threadFlow, 'locations'): + + if args.endpoints_only: + # + # Pick the range to list only the endpoints (source/sink) of a threadFlow. + # + t1 = S.indices(threadFlow, 'locations') + location_range = [t1[0], t1[-1]] + # + # If the previous path had the same (source,sink) pair, + # we don't need to repeat it. + # + if (last_codeFlow and + ( S.get(last_codeFlow, 'threadFlows', threadi, 'locations', 0) == + S.get(codeFlow, 'threadFlows', threadi, 'locations', 0)) and + ( S.get(last_codeFlow, 'threadFlows', threadi, 'locations', -1) == + S.get(codeFlow, 'threadFlows', threadi, 'locations', -1))): + continue + else: + location_range = S.indices(threadFlow, 'locations') + + for loci in location_range: location = S.get(threadFlow, 'locations', loci, 'location') message, artifact, region = S.get_relatedlocation_message_info(location) if artifact == S.NoFile: @@ -122,6 +145,7 @@ for runi in S.indices(sarif_struct, 'runs'): else: for line, line_num in zip(lines, range(l1, l2+1)): S.display_underlined(l1, c1, l2, c2, line, line_num) + last_codeFlow = codeFlow if args.csv: pass else: diff --git a/data/treeio/test_set_1.yaml b/data/treeio/test_set_1.yaml index 9c3f492..29673ce 100644 --- a/data/treeio/test_set_1.yaml +++ b/data/treeio/test_set_1.yaml @@ -2105,7826 +2105,3 @@ runs: properties: semmle.formatSpecifier: 2.1.0 semmle.sourceLanguage: javascript - - tool: - driver: - name: LGTM.com - organization: Semmle - version: 1.29.0-SNAPSHOT - rules: - - id: com.lgtm/python-queries:py/unnecessary-pass - name: com.lgtm/python-queries:py/unnecessary-pass - shortDescription: - text: Unnecessary pass - fullDescription: - text: Unnecessary 'pass' statement - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - maintainability - - useless-code - kind: problem - precision: very-high - severity: warning - sub-severity: low - - id: com.lgtm/python-queries:py/multiple-definition - name: com.lgtm/python-queries:py/multiple-definition - shortDescription: - text: Variable defined multiple times - fullDescription: - text: Assignment to a variable occurs multiple times without any intermediate use of that variable - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - maintainability - - useless-code - - external/cwe/cwe-563 - kind: problem - precision: very-high - severity: warning - sub-severity: low - - id: com.lgtm/python-queries:py/super-not-enclosing-class - name: com.lgtm/python-queries:py/super-not-enclosing-class - shortDescription: - text: First argument to super() is not enclosing class - fullDescription: - text: Calling super with something other than the enclosing class may cause incorrect object initialization. - defaultConfiguration: - enabled: true - level: error - properties: - tags: - - reliability - - maintainability - - convention - - external/cwe/cwe-687 - kind: problem - precision: high - severity: error - sub-severity: low - - id: com.lgtm/python-queries:py/polluting-import - name: com.lgtm/python-queries:py/polluting-import - shortDescription: - text: '''import *'' may pollute namespace' - fullDescription: - text: Importing a module using 'import *' may unintentionally pollute the global namespace if the module does not define `__all__` - defaultConfiguration: - enabled: true - level: note - properties: - tags: - - maintainability - - modularity - kind: problem - precision: very-high - severity: recommendation - sub-severity: high - - id: com.lgtm/python-queries:py/unreachable-statement - name: com.lgtm/python-queries:py/unreachable-statement - shortDescription: - text: Unreachable code - fullDescription: - text: Code is unreachable - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - maintainability - - useless-code - - external/cwe/cwe-561 - kind: problem - precision: very-high - severity: warning - sub-severity: low - - id: com.lgtm/python-queries:py/unused-import - name: com.lgtm/python-queries:py/unused-import - shortDescription: - text: Unused import - fullDescription: - text: Import is not required as it is not used - defaultConfiguration: - enabled: true - level: note - properties: - tags: - - maintainability - - useless-code - kind: problem - precision: very-high - severity: recommendation - sub-severity: high - - id: com.lgtm/python-queries:py/catch-base-exception - name: com.lgtm/python-queries:py/catch-base-exception - shortDescription: - text: Except block handles 'BaseException' - fullDescription: - text: Handling 'BaseException' means that system exits and keyboard interrupts may be mis-handled. - defaultConfiguration: - enabled: true - level: note - properties: - tags: - - reliability - - readability - - convention - - external/cwe/cwe-396 - kind: problem - precision: very-high - severity: recommendation - sub-severity: high - - id: com.lgtm/python-queries:py/unused-local-variable - name: com.lgtm/python-queries:py/unused-local-variable - shortDescription: - text: Unused local variable - fullDescription: - text: Local variable is defined but not used - defaultConfiguration: - enabled: true - level: note - properties: - tags: - - maintainability - - useless-code - - external/cwe/cwe-563 - kind: problem - precision: very-high - severity: recommendation - sub-severity: high - - id: com.lgtm/python-queries:py/conflicting-attributes - name: com.lgtm/python-queries:py/conflicting-attributes - shortDescription: - text: Conflicting attributes in base classes - fullDescription: - text: When a class subclasses multiple base classes and more than one base class defines the same attribute, attribute overriding may result in unexpected behavior by instances of this class. - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - reliability - - maintainability - - modularity - kind: problem - precision: high - severity: warning - sub-severity: low - - id: com.lgtm/python-queries:py/missing-equals - name: com.lgtm/python-queries:py/missing-equals - shortDescription: - text: '`__eq__` not overridden when adding attributes' - fullDescription: - text: When adding new attributes to instances of a class, equality for that class needs to be defined. - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - reliability - - correctness - kind: problem - precision: high - severity: warning - sub-severity: high - - id: com.lgtm/python-queries:py/import-and-import-from - name: com.lgtm/python-queries:py/import-and-import-from - shortDescription: - text: Module is imported with 'import' and 'import from' - fullDescription: - text: A module is imported with the "import" and "import from" statements - defaultConfiguration: - enabled: true - level: note - properties: - tags: - - maintainability - kind: problem - precision: very-high - severity: recommendation - sub-severity: low - - id: com.lgtm/python-queries:py/stack-trace-exposure - name: com.lgtm/python-queries:py/stack-trace-exposure - shortDescription: - text: Information exposure through an exception - fullDescription: - text: Leaking information about an exception, such as messages and stack traces, to an external user can expose implementation details that are useful to an attacker for developing a subsequent exploit. - defaultConfiguration: - enabled: true - level: error - properties: - tags: - - security - - external/cwe/cwe-209 - - external/cwe/cwe-497 - kind: path-problem - precision: high - security-severity: "5.4" - severity: error - - id: com.lgtm/python-queries:py/incomplete-url-substring-sanitization - name: com.lgtm/python-queries:py/incomplete-url-substring-sanitization - shortDescription: - text: Incomplete URL substring sanitization - fullDescription: - text: Security checks on the substrings of an unparsed URL are often vulnerable to bypassing. - defaultConfiguration: - enabled: true - level: warning - properties: - tags: - - correctness - - security - - external/cwe/cwe-20 - kind: problem - precision: high - security-severity: "7.8" - severity: warning - versionControlProvenance: - - repositoryUri: https://github.com/treeio/treeio.git - revisionId: bae3115f4015aad2cbc5ab45572232ceec990495 - artifacts: - - location: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - - location: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - - location: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - - location: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - - location: - uri: treeio/core/administration/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 4 - - location: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - - location: - uri: treeio/identities/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 6 - - location: - uri: treeio/infrastructure/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 7 - - location: - uri: treeio/core/db/__init__.py - uriBaseId: '%SRCROOT%' - index: 8 - - location: - uri: treeio/core/db/db.py - uriBaseId: '%SRCROOT%' - index: 9 - - location: - uri: treeio/core/south_migrations/0002_auto__del_notification__add_comment__add_tag__add_revisionfield__add_r.py - uriBaseId: '%SRCROOT%' - index: 10 - - location: - uri: treeio/core/south_migrations/0005_auto__del_field_group_id__chg_field_group_accessentity_ptr__del_field_.py - uriBaseId: '%SRCROOT%' - index: 11 - - location: - uri: treeio/messaging/south_migrations/0002_auto__add_mailinglist__add_template__add_field_message_mlist__chg_fiel.py - uriBaseId: '%SRCROOT%' - index: 12 - - location: - uri: treeio/services/south_migrations/0004_auto__del_field_ticketrecord_record_type__del_field_ticketrecord_detai.py - uriBaseId: '%SRCROOT%' - index: 13 - - location: - uri: treeio/account/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 14 - - location: - uri: treeio/changes/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 15 - - location: - uri: treeio/core/ajax/converter.py - uriBaseId: '%SRCROOT%' - index: 16 - - location: - uri: treeio/core/api/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 17 - - location: - uri: treeio/core/api/south_migrations/0002_auto__add_field_consumer_owner.py - uriBaseId: '%SRCROOT%' - index: 18 - - location: - uri: treeio/core/management/commands/installdb.py - uriBaseId: '%SRCROOT%' - index: 19 - - location: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - - location: - uri: treeio/core/south_migrations/0003_treeiocore.py - uriBaseId: '%SRCROOT%' - index: 21 - - location: - uri: treeio/core/south_migrations/0004_auto__del_field_object_user.py - uriBaseId: '%SRCROOT%' - index: 22 - - location: - uri: treeio/core/south_migrations/0006_auto__add_configsetting.py - uriBaseId: '%SRCROOT%' - index: 23 - - location: - uri: treeio/core/south_migrations/0007_auto__add_attachment.py - uriBaseId: '%SRCROOT%' - index: 24 - - location: - uri: treeio/core/south_migrations/0008_auto__add_field_attachment_filename.py - uriBaseId: '%SRCROOT%' - index: 25 - - location: - uri: treeio/documents/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 26 - - location: - uri: treeio/events/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 27 - - location: - uri: treeio/finance/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 28 - - location: - uri: treeio/finance/south_migrations/0002_auto__add_currency__add_tax__add_field_liability_value_currency__add_f.py - uriBaseId: '%SRCROOT%' - index: 29 - - location: - uri: treeio/finance/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 30 - - location: - uri: treeio/identities/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 31 - - location: - uri: treeio/identities/south_migrations/0002_auto__chg_field_contact_related_user.py - uriBaseId: '%SRCROOT%' - index: 32 - - location: - uri: treeio/identities/south_migrations/0003_related_accessentity.py - uriBaseId: '%SRCROOT%' - index: 33 - - location: - uri: treeio/identities/south_migrations/0004_auto__del_field_contact_related_group.py - uriBaseId: '%SRCROOT%' - index: 34 - - location: - uri: treeio/infrastructure/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 35 - - location: - uri: treeio/knowledge/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 36 - - location: - uri: treeio/messaging/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 37 - - location: - uri: treeio/messaging/south_migrations/0003_merge_emailbox_stream.py - uriBaseId: '%SRCROOT%' - index: 38 - - location: - uri: treeio/messaging/south_migrations/0004_auto__del_emailbox__del_field_messagestream_email_outgoing__del_field_.py - uriBaseId: '%SRCROOT%' - index: 39 - - location: - uri: treeio/news/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 40 - - location: - uri: treeio/projects/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 41 - - location: - uri: treeio/projects/south_migrations/0002_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 42 - - location: - uri: treeio/projects/south_migrations/0003_auto__add_field_tasktimeslot_user.py - uriBaseId: '%SRCROOT%' - index: 43 - - location: - uri: treeio/projects/south_migrations/0004_timeslots.py - uriBaseId: '%SRCROOT%' - index: 44 - - location: - uri: treeio/projects/south_migrations/0005_auto__del_taskrecord.py - uriBaseId: '%SRCROOT%' - index: 45 - - location: - uri: treeio/projects/south_migrations/0006_auto__add_field_task_depends.py - uriBaseId: '%SRCROOT%' - index: 46 - - location: - uri: treeio/reports/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 47 - - location: - uri: treeio/reports/south_migrations/0002_auto__del_template__add_chart__del_field_report_template__add_field_re.py - uriBaseId: '%SRCROOT%' - index: 48 - - location: - uri: treeio/reports/south_migrations/0003_delete_old.py - uriBaseId: '%SRCROOT%' - index: 49 - - location: - uri: treeio/sales/south_migrations/0002_auto__del_updaterecord__add_field_orderedproduct_tax__add_field_ordere.py - uriBaseId: '%SRCROOT%' - index: 50 - - location: - uri: treeio/sales/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 51 - - location: - uri: treeio/sales/south_migrations/0004_auto__chg_field_orderedproduct_quantity.py - uriBaseId: '%SRCROOT%' - index: 52 - - location: - uri: treeio/services/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 53 - - location: - uri: treeio/services/south_migrations/0002_auto__add_field_ticketrecord_updaterecord_ptr.py - uriBaseId: '%SRCROOT%' - index: 54 - - location: - uri: treeio/services/south_migrations/0003_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 55 - - location: - uri: treeio/account/ajax.py - uriBaseId: '%SRCROOT%' - index: 56 - - location: - uri: treeio/account/cron.py - uriBaseId: '%SRCROOT%' - index: 57 - - location: - uri: treeio/account/forms.py - uriBaseId: '%SRCROOT%' - index: 58 - - location: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - - location: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - - location: - uri: treeio/core/api/doc.py - uriBaseId: '%SRCROOT%' - index: 61 - - location: - uri: treeio/core/auth.py - uriBaseId: '%SRCROOT%' - index: 62 - - location: - uri: treeio/core/contrib/messages/storage/cache.py - uriBaseId: '%SRCROOT%' - index: 63 - - location: - uri: treeio/core/dashboard/views.py - uriBaseId: '%SRCROOT%' - index: 64 - - location: - uri: treeio/core/db/creation.py - uriBaseId: '%SRCROOT%' - index: 65 - - location: - uri: treeio/core/forms.py - uriBaseId: '%SRCROOT%' - index: 66 - - location: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - - location: - uri: treeio/core/management/commands/runcron.py - uriBaseId: '%SRCROOT%' - index: 68 - - location: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - - location: - uri: treeio/core/rendering.py - uriBaseId: '%SRCROOT%' - index: 70 - - location: - uri: treeio/core/rss.py - uriBaseId: '%SRCROOT%' - index: 71 - - location: - uri: treeio/core/search/models.py - uriBaseId: '%SRCROOT%' - index: 72 - - location: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - - location: - uri: treeio/core/templatetags/user.py - uriBaseId: '%SRCROOT%' - index: 74 - - location: - uri: treeio/core/trash/views.py - uriBaseId: '%SRCROOT%' - index: 75 - - location: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - - location: - uri: treeio/documents/forms.py - uriBaseId: '%SRCROOT%' - index: 77 - - location: - uri: treeio/events/forms.py - uriBaseId: '%SRCROOT%' - index: 78 - - location: - uri: treeio/events/rendering.py - uriBaseId: '%SRCROOT%' - index: 79 - - location: - uri: treeio/finance/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 80 - - location: - uri: treeio/finance/forms.py - uriBaseId: '%SRCROOT%' - index: 81 - - location: - uri: treeio/finance/models.py - uriBaseId: '%SRCROOT%' - index: 82 - - location: - uri: treeio/finance/views.py - uriBaseId: '%SRCROOT%' - index: 83 - - location: - uri: treeio/identities/integration.py - uriBaseId: '%SRCROOT%' - index: 84 - - location: - uri: treeio/identities/models.py - uriBaseId: '%SRCROOT%' - index: 85 - - location: - uri: treeio/identities/objects.py - uriBaseId: '%SRCROOT%' - index: 86 - - location: - uri: treeio/messaging/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 87 - - location: - uri: treeio/messaging/emails.py - uriBaseId: '%SRCROOT%' - index: 88 - - location: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - - location: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - - location: - uri: treeio/news/forms.py - uriBaseId: '%SRCROOT%' - index: 91 - - location: - uri: treeio/projects/ajax.py - uriBaseId: '%SRCROOT%' - index: 92 - - location: - uri: treeio/projects/identities.py - uriBaseId: '%SRCROOT%' - index: 93 - - location: - uri: treeio/reports/templatetags/reports.py - uriBaseId: '%SRCROOT%' - index: 94 - - location: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - - location: - uri: treeio/sales/models.py - uriBaseId: '%SRCROOT%' - index: 96 - - location: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - - location: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - - location: - uri: treeio/services/identities.py - uriBaseId: '%SRCROOT%' - index: 99 - - location: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - - location: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - - location: - uri: treeio/core/api/utils.py - uriBaseId: '%SRCROOT%' - index: 102 - - location: - uri: treeio/projects/views.py - uriBaseId: '%SRCROOT%' - index: 103 - - location: - uri: treeio/core/sanitizer.py - uriBaseId: '%SRCROOT%' - index: 104 - results: - - ruleId: com.lgtm/python-queries:py/unnecessary-pass - ruleIndex: 0 - rule: - id: com.lgtm/python-queries:py/unnecessary-pass - index: 0 - message: - text: Unnecessary 'pass' statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 500 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: 4d5a816bdc87f65a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/multiple-definition - ruleIndex: 1 - rule: - id: com.lgtm/python-queries:py/multiple-definition - index: 1 - message: - text: |- - This assignment to 'qry' is unnecessary as it is redefined [here](1) before this value is used. - This assignment to 'qry' is unnecessary as it is redefined [here](2) before this value is used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - region: - startLine: 41 - startColumn: 17 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 337db906fd5eb184:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - region: - startLine: 43 - startColumn: 21 - endColumn: 24 - message: - text: here - - id: 2 - physicalLocation: - artifactLocation: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - region: - startLine: 48 - startColumn: 21 - endColumn: 24 - message: - text: here - - ruleId: com.lgtm/python-queries:py/multiple-definition - ruleIndex: 1 - rule: - id: com.lgtm/python-queries:py/multiple-definition - index: 1 - message: - text: This assignment to 'query' is unnecessary as it is redefined [here](1) before this value is used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 548 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: 38aaec6b42707061:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 566 - startColumn: 5 - endColumn: 10 - message: - text: here - - ruleId: com.lgtm/python-queries:py/multiple-definition - ruleIndex: 1 - rule: - id: com.lgtm/python-queries:py/multiple-definition - index: 1 - message: - text: This assignment to 'query' is unnecessary as it is redefined [here](1) before this value is used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 550 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: 7e72ed1bd661ad78:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 566 - startColumn: 5 - endColumn: 10 - message: - text: here - - ruleId: com.lgtm/python-queries:py/multiple-definition - ruleIndex: 1 - rule: - id: com.lgtm/python-queries:py/multiple-definition - index: 1 - message: - text: This assignment to 'DEBUG' is unnecessary as it is redefined [here](1) before this value is used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 22 - endColumn: 6 - partialFingerprints: - primaryLocationLineHash: dcbba315c4aab51c:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 23 - endColumn: 6 - message: - text: here - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be PageFolderHandler. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 4 - region: - startLine: 198 - startColumn: 25 - endColumn: 51 - partialFingerprints: - primaryLocationLineHash: 7aac7a5b7522950e:1 - primaryLocationStartColumnFingerprint: "16" - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be PageHandler. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 4 - region: - startLine: 217 - startColumn: 25 - endColumn: 51 - partialFingerprints: - primaryLocationLineHash: 79b557212d64f987:1 - primaryLocationStartColumnFingerprint: "16" - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be ContactSetupForm. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 451 - startColumn: 9 - endColumn: 33 - partialFingerprints: - primaryLocationLineHash: d154ffffebae57dc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be ContactFieldHandler. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 6 - region: - startLine: 31 - startColumn: 25 - endColumn: 51 - partialFingerprints: - primaryLocationLineHash: d65e22c97eb5048:1 - primaryLocationStartColumnFingerprint: "16" - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be ItemFieldHandler. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/infrastructure/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 7 - region: - startLine: 40 - startColumn: 25 - endColumn: 51 - partialFingerprints: - primaryLocationLineHash: 977a5dfdd0933ae7:1 - primaryLocationStartColumnFingerprint: "16" - - ruleId: com.lgtm/python-queries:py/super-not-enclosing-class - ruleIndex: 2 - rule: - id: com.lgtm/python-queries:py/super-not-enclosing-class - index: 2 - message: - text: First argument to super() should be ItemStatusHandler. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/infrastructure/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 7 - region: - startLine: 71 - startColumn: 25 - endColumn: 51 - partialFingerprints: - primaryLocationLineHash: f0a7fa61d6949e88:1 - primaryLocationStartColumnFingerprint: "16" - - ruleId: com.lgtm/python-queries:py/polluting-import - ruleIndex: 3 - rule: - id: com.lgtm/python-queries:py/polluting-import - index: 3 - message: - text: Import pollutes the enclosing namespace, as the imported module [treeio.core.db.db](1) does not define '__all__'. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/db/__init__.py - uriBaseId: '%SRCROOT%' - index: 8 - region: - startLine: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: 41e4e91ec32c2be4:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/db/db.py - uriBaseId: '%SRCROOT%' - index: 9 - message: - text: treeio.core.db.db - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0002_auto__del_notification__add_comment__add_tag__add_revisionfield__add_r.py - uriBaseId: '%SRCROOT%' - index: 10 - region: - startLine: 431 - startColumn: 9 - endColumn: 62 - partialFingerprints: - primaryLocationLineHash: 6d14fb4677e6ec83:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0005_auto__del_field_group_id__chg_field_group_accessentity_ptr__del_field_.py - uriBaseId: '%SRCROOT%' - index: 11 - region: - startLine: 42 - startColumn: 9 - endLine: 43 - endColumn: 115 - partialFingerprints: - primaryLocationLineHash: bef6ecccda4ea261:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0002_auto__add_mailinglist__add_template__add_field_message_mlist__chg_fiel.py - uriBaseId: '%SRCROOT%' - index: 12 - region: - startLine: 143 - startColumn: 9 - endColumn: 76 - partialFingerprints: - primaryLocationLineHash: e632f4f1c7640158:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0004_auto__del_field_ticketrecord_record_type__del_field_ticketrecord_detai.py - uriBaseId: '%SRCROOT%' - index: 13 - region: - startLine: 42 - startColumn: 9 - endLine: 43 - endColumn: 104 - partialFingerprints: - primaryLocationLineHash: 94f78beaa2ace32c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 103 - startColumn: 5 - endColumn: 48 - partialFingerprints: - primaryLocationLineHash: 3b66c4100f0951ca:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 154 - startColumn: 5 - endLine: 160 - endColumn: 6 - partialFingerprints: - primaryLocationLineHash: 4d07f19726c561ce:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unreachable-statement - ruleIndex: 4 - rule: - id: com.lgtm/python-queries:py/unreachable-statement - index: 4 - message: - text: Unreachable statement. - locations: - - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 240 - startColumn: 5 - endColumn: 54 - partialFingerprints: - primaryLocationLineHash: 2f337a6930971846:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 14 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 14 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 986d788c12968405:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 14 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: c914608bcb68ce9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/changes/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 15 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b029:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'OrderedDict' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/ajax/converter.py - uriBaseId: '%SRCROOT%' - index: 16 - region: - startLine: 11 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: 2b8b1ad87d2ff3ac:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 17 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 17 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b034:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/south_migrations/0002_auto__add_field_consumer_owner.py - uriBaseId: '%SRCROOT%' - index: 18 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/south_migrations/0002_auto__add_field_consumer_owner.py - uriBaseId: '%SRCROOT%' - index: 18 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021ad99bc0e0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'json' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/management/commands/installdb.py - uriBaseId: '%SRCROOT%' - index: 19 - region: - startLine: 9 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: eb4abfb2c59a7cfc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'translation' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 17 - endColumn: 37 - partialFingerprints: - primaryLocationLineHash: b8e463640caf410d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0003_treeiocore.py - uriBaseId: '%SRCROOT%' - index: 21 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f4ce139bd8:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0003_treeiocore.py - uriBaseId: '%SRCROOT%' - index: 21 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 30e65cf5206cd372:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0003_treeiocore.py - uriBaseId: '%SRCROOT%' - index: 21 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: ee0db281ff199024:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'Object' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0003_treeiocore.py - uriBaseId: '%SRCROOT%' - index: 21 - region: - startLine: 11 - endColumn: 38 - partialFingerprints: - primaryLocationLineHash: 3b410771d02c216b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0004_auto__del_field_object_user.py - uriBaseId: '%SRCROOT%' - index: 22 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0004_auto__del_field_object_user.py - uriBaseId: '%SRCROOT%' - index: 22 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51e089e0f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0005_auto__del_field_group_id__chg_field_group_accessentity_ptr__del_field_.py - uriBaseId: '%SRCROOT%' - index: 11 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0005_auto__del_field_group_id__chg_field_group_accessentity_ptr__del_field_.py - uriBaseId: '%SRCROOT%' - index: 11 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51e089e0f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0006_auto__add_configsetting.py - uriBaseId: '%SRCROOT%' - index: 23 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0006_auto__add_configsetting.py - uriBaseId: '%SRCROOT%' - index: 23 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b029:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0007_auto__add_attachment.py - uriBaseId: '%SRCROOT%' - index: 24 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0007_auto__add_attachment.py - uriBaseId: '%SRCROOT%' - index: 24 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b027:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0008_auto__add_field_attachment_filename.py - uriBaseId: '%SRCROOT%' - index: 25 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/south_migrations/0008_auto__add_field_attachment_filename.py - uriBaseId: '%SRCROOT%' - index: 25 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021ad99bc0de:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/documents/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 26 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/documents/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 26 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b02c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/events/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 27 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/events/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 27 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b02b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 28 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b029:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0002_auto__add_currency__add_tax__add_field_liability_value_currency__add_f.py - uriBaseId: '%SRCROOT%' - index: 29 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0002_auto__add_currency__add_tax__add_field_liability_value_currency__add_f.py - uriBaseId: '%SRCROOT%' - index: 29 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b029:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 30 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 30 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 30 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: ce944290b73f1072:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 31 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0002_auto__chg_field_contact_related_user.py - uriBaseId: '%SRCROOT%' - index: 32 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0002_auto__chg_field_contact_related_user.py - uriBaseId: '%SRCROOT%' - index: 32 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 9f5b07440461a3c2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0003_related_accessentity.py - uriBaseId: '%SRCROOT%' - index: 33 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0003_related_accessentity.py - uriBaseId: '%SRCROOT%' - index: 33 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0003_related_accessentity.py - uriBaseId: '%SRCROOT%' - index: 33 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 3442435256c03aa9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0004_auto__del_field_contact_related_group.py - uriBaseId: '%SRCROOT%' - index: 34 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/south_migrations/0004_auto__del_field_contact_related_group.py - uriBaseId: '%SRCROOT%' - index: 34 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51e089e0f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/infrastructure/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 35 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/knowledge/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 36 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/knowledge/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 36 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b031:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 37 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0002_auto__add_mailinglist__add_template__add_field_message_mlist__chg_fiel.py - uriBaseId: '%SRCROOT%' - index: 12 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0003_merge_emailbox_stream.py - uriBaseId: '%SRCROOT%' - index: 38 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0003_merge_emailbox_stream.py - uriBaseId: '%SRCROOT%' - index: 38 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0003_merge_emailbox_stream.py - uriBaseId: '%SRCROOT%' - index: 38 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 34424981d1c0cb95:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0004_auto__del_emailbox__del_field_messagestream_email_outgoing__del_field_.py - uriBaseId: '%SRCROOT%' - index: 39 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/south_migrations/0004_auto__del_emailbox__del_field_messagestream_email_outgoing__del_field_.py - uriBaseId: '%SRCROOT%' - index: 39 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51ed56980:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/news/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 40 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/news/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 40 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 986d788c12968405:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/news/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 40 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: c914608bcb68ce9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 41 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0002_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 42 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0002_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 42 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0002_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 42 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 3442df3a93af9bfa:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0003_auto__add_field_tasktimeslot_user.py - uriBaseId: '%SRCROOT%' - index: 43 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0003_auto__add_field_tasktimeslot_user.py - uriBaseId: '%SRCROOT%' - index: 43 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021ad99bc0f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0004_timeslots.py - uriBaseId: '%SRCROOT%' - index: 44 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0004_timeslots.py - uriBaseId: '%SRCROOT%' - index: 44 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0004_timeslots.py - uriBaseId: '%SRCROOT%' - index: 44 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 3442791bb1889706:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0005_auto__del_taskrecord.py - uriBaseId: '%SRCROOT%' - index: 45 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0005_auto__del_taskrecord.py - uriBaseId: '%SRCROOT%' - index: 45 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51ed56980:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0006_auto__add_field_task_depends.py - uriBaseId: '%SRCROOT%' - index: 46 - region: - startLine: 2 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0006_auto__add_field_task_depends.py - uriBaseId: '%SRCROOT%' - index: 46 - region: - startLine: 5 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021ad99bc0f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 47 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 47 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021f20c7b03a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0002_auto__del_template__add_chart__del_field_report_template__add_field_re.py - uriBaseId: '%SRCROOT%' - index: 48 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0002_auto__del_template__add_chart__del_field_report_template__add_field_re.py - uriBaseId: '%SRCROOT%' - index: 48 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51ed56980:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0003_delete_old.py - uriBaseId: '%SRCROOT%' - index: 49 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0003_delete_old.py - uriBaseId: '%SRCROOT%' - index: 49 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/south_migrations/0003_delete_old.py - uriBaseId: '%SRCROOT%' - index: 49 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 2b23ba1f4214afd9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0002_auto__del_updaterecord__add_field_orderedproduct_tax__add_field_ordere.py - uriBaseId: '%SRCROOT%' - index: 50 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0b048a89:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 51 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f4ce139bd8:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 51 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 30e7ac09b405fbfc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 51 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 41485435967e8a7b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0004_auto__chg_field_orderedproduct_quantity.py - uriBaseId: '%SRCROOT%' - index: 52 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0004_auto__chg_field_orderedproduct_quantity.py - uriBaseId: '%SRCROOT%' - index: 52 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 9f5b07440461a3c2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0001_initial.py - uriBaseId: '%SRCROOT%' - index: 53 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0002_auto__add_field_ticketrecord_updaterecord_ptr.py - uriBaseId: '%SRCROOT%' - index: 54 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0002_auto__add_field_ticketrecord_updaterecord_ptr.py - uriBaseId: '%SRCROOT%' - index: 54 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: def5021ad99bc0f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0003_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 55 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d16298f3462a86f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'db' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0003_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 55 - region: - startLine: 8 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 426508124f82de9a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0003_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 55 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: 3442df3a93af9bfa:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'datetime' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0004_auto__del_field_ticketrecord_record_type__del_field_ticketrecord_detai.py - uriBaseId: '%SRCROOT%' - index: 13 - region: - startLine: 7 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6a868cd0abb4138:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-import - ruleIndex: 5 - rule: - id: com.lgtm/python-queries:py/unused-import - index: 5 - message: - text: Import of 'models' is not used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/south_migrations/0004_auto__del_field_ticketrecord_record_type__del_field_ticketrecord_detai.py - uriBaseId: '%SRCROOT%' - index: 13 - region: - startLine: 10 - endColumn: 29 - partialFingerprints: - primaryLocationLineHash: f40606c51e089e0f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/ajax.py - uriBaseId: '%SRCROOT%' - index: 56 - region: - startLine: 260 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 31e3ddb9bca8c95d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/cron.py - uriBaseId: '%SRCROOT%' - index: 57 - region: - startLine: 58 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 2892b3e0c24cbd95:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/forms.py - uriBaseId: '%SRCROOT%' - index: 58 - region: - startLine: 156 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 34ade055cf1ca73:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/forms.py - uriBaseId: '%SRCROOT%' - index: 58 - region: - startLine: 165 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: bab454236e485ac5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/forms.py - uriBaseId: '%SRCROOT%' - index: 58 - region: - startLine: 182 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8d92698814370b6d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/forms.py - uriBaseId: '%SRCROOT%' - index: 58 - region: - startLine: 236 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 14e02c3970f95531:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 29 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: b25d3e4e2a9429dc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 107 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: b6b412f7bbcb0b95:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 115 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 6c53d6b57b72912c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 133 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 139 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 3d21259ab05ccf72:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 151 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: c8b5bce6435eab45:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/account/views.py - uriBaseId: '%SRCROOT%' - index: 59 - region: - startLine: 214 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 45be99501d33d7fd:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 73 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 52e875f74c9992d5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 80 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 89cc9c96f34983bd:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 111 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: a6e203f953c61c7e:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 185 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 28e44790a5668ae0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 190 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 75a9d0a95eeef32:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 243 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 811bc4fc7e313ebd:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/forms.py - uriBaseId: '%SRCROOT%' - index: 5 - region: - startLine: 365 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: f7c8df56ec226dbc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - region: - startLine: 240 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: e6ab5a446e16dd93:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - region: - startLine: 289 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: f4629a791848c45b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - region: - startLine: 763 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 9b5fc9375d29fca2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - region: - startLine: 776 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 6c53d6b57b72912c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/administration/views.py - uriBaseId: '%SRCROOT%' - index: 60 - region: - startLine: 796 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 83c28c9ecbe543e3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/ajax/converter.py - uriBaseId: '%SRCROOT%' - index: 16 - region: - startLine: 156 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: ee2685e0dd8b915c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/doc.py - uriBaseId: '%SRCROOT%' - index: 61 - region: - startLine: 198 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: dc3de37663611de5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/doc.py - uriBaseId: '%SRCROOT%' - index: 61 - region: - startLine: 237 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: c4fb9c3f0a0b2836:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/doc.py - uriBaseId: '%SRCROOT%' - index: 61 - region: - startLine: 264 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 78cd4ab58152afd1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/auth.py - uriBaseId: '%SRCROOT%' - index: 62 - region: - startLine: 28 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: f25d1d58a20c12d4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/auth.py - uriBaseId: '%SRCROOT%' - index: 62 - region: - startLine: 46 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: f25d1d58a20c12d4:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/contrib/messages/storage/cache.py - uriBaseId: '%SRCROOT%' - index: 63 - region: - startLine: 50 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 414f17ac8438289b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/contrib/messages/storage/cache.py - uriBaseId: '%SRCROOT%' - index: 63 - region: - startLine: 78 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8d184fdfe802a540:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/contrib/messages/storage/cache.py - uriBaseId: '%SRCROOT%' - index: 63 - region: - startLine: 96 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8690259969c4c8d1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/dashboard/views.py - uriBaseId: '%SRCROOT%' - index: 64 - region: - startLine: 137 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 56099298deadfcf2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/db/creation.py - uriBaseId: '%SRCROOT%' - index: 65 - region: - startLine: 23 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 56cbdc15b9998de0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/forms.py - uriBaseId: '%SRCROOT%' - index: 66 - region: - startLine: 251 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: d7baf7b62571a9c5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/forms.py - uriBaseId: '%SRCROOT%' - index: 66 - region: - startLine: 263 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 1b3a7758614a2ed8:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/forms.py - uriBaseId: '%SRCROOT%' - index: 66 - region: - startLine: 271 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 3a34ec5d5c696f14:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/forms.py - uriBaseId: '%SRCROOT%' - index: 66 - region: - startLine: 285 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 55cfe24c10b8268d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 128 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 94f83b98c7fb1dda:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 232 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: a703f9c47dfb54c3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 314 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: e3a8180017bdfc1d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 404 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 77a1d33f1c21af5f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 444 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: a2b5328e4639f586:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 512 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: c119c5118dd992cf:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/management/commands/runcron.py - uriBaseId: '%SRCROOT%' - index: 68 - region: - startLine: 67 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8d21852609d05c14:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 39 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 144a16144af3af60:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 80 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 84adaf5e05c06a13:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 92 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: f590d8b93cc3435c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 104 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 1613cbc206d2afae:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 122 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 6974d1703ad60ae4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 305 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: bcc4d5d2c04093cc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 392 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: e04a327cc02c031b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 425 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 2ad3de1c212e25e3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 462 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 9f12a3c421d8d343:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 90 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: f962a2a42065ae19:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 99 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 989a0e961381a81:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 110 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 7ae2991e477facef:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 135 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 87b417ec2a4edeb0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/user.py - uriBaseId: '%SRCROOT%' - index: 20 - region: - startLine: 167 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 9d7243019a9ec0cf:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 155 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 47638e17692c7de9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 160 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: e0a91f765f5fc963:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 184 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 6f5d7852428831e3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 238 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 98c587087550d03d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 333 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8571a9e44abdf687:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 336 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 47638e17692c7de9:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 344 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: dc529fb79f64ce4b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 384 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 7ff8ba67dee7f162:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 534 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d4ca1f29a67898da:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 685 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: db8fa06ca75b2ce7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 737 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: cb2648b3c107c6e2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 743 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: 198e6288819700e9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 748 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: f7ec80bfde0c2cc9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 862 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 7c44fcbb4522f3a5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 907 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 64d7fafcb3bca8db:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 936 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 651a424cbec8d186:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 942 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: aa24b7f1271a4027:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 951 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: a03c4ab6b9d896e4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1002 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: e39c47ea34327ad:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1181 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 81f45636cce68212:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1188 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 504f40f11df2a3b6:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1201 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: b328df2fbb0711eb:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1370 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4bdd2e5a59294751:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 1542 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 3f0649538db70fca:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/rendering.py - uriBaseId: '%SRCROOT%' - index: 70 - region: - startLine: 100 - startColumn: 33 - endColumn: 40 - partialFingerprints: - primaryLocationLineHash: e78907b7438e8324:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/rendering.py - uriBaseId: '%SRCROOT%' - index: 70 - region: - startLine: 107 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 47a422a0b21ebd98:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/rendering.py - uriBaseId: '%SRCROOT%' - index: 70 - region: - startLine: 112 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 5e19378f2a82396d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/rss.py - uriBaseId: '%SRCROOT%' - index: 71 - region: - startLine: 94 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 2b9fd8a86c96dad0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/models.py - uriBaseId: '%SRCROOT%' - index: 72 - region: - startLine: 49 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 9b3f52bfdc4e3141:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/models.py - uriBaseId: '%SRCROOT%' - index: 72 - region: - startLine: 51 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4e4c2f6cfb46ca3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/models.py - uriBaseId: '%SRCROOT%' - index: 72 - region: - startLine: 68 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 9b3f52bfdc4e3141:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/models.py - uriBaseId: '%SRCROOT%' - index: 72 - region: - startLine: 70 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4e4c2f6cfb46ca3:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - region: - startLine: 44 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 4ccf9c90f40cd907:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/search/views.py - uriBaseId: '%SRCROOT%' - index: 1 - region: - startLine: 53 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 58887756c7a6060:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 152 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 6e045dbaec7b8c30:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 327 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 357 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 36ece0f6bb8ef105:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 402 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 463 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:3 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 525 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:4 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 573 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 7fec538b51e3ff67:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 580 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 7c760041a3be2819:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 586 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4ec3dd8944ecaa41:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 614 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 83c28c9ecbe543e3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 622 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 66f787c7b210b99e:5 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/modules.py - uriBaseId: '%SRCROOT%' - index: 73 - region: - startLine: 876 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 677f643e395a32f1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/templatetags/user.py - uriBaseId: '%SRCROOT%' - index: 74 - region: - startLine: 80 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: aed96671b45fa18a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/trash/views.py - uriBaseId: '%SRCROOT%' - index: 75 - region: - startLine: 33 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 67d4a2e23fb83240:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/trash/views.py - uriBaseId: '%SRCROOT%' - index: 75 - region: - startLine: 44 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 9e1fb519692d2bb0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 62 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: e65bca39a5c8a4cf:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 171 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 1b4a1f61ad9ca844:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 178 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 8b019906edcae7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 184 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: fcc5776137ba1260:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 333 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: a40b5eac2a6c6d83:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/views.py - uriBaseId: '%SRCROOT%' - index: 76 - region: - startLine: 577 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 985f81e01017ec99:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/documents/forms.py - uriBaseId: '%SRCROOT%' - index: 77 - region: - startLine: 92 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: b2ccd701e3d2f168:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/documents/forms.py - uriBaseId: '%SRCROOT%' - index: 77 - region: - startLine: 125 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 17d75a313c9b26ff:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/documents/forms.py - uriBaseId: '%SRCROOT%' - index: 77 - region: - startLine: 162 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: a800cad1583cb797:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/events/forms.py - uriBaseId: '%SRCROOT%' - index: 78 - region: - startLine: 119 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 6461b6d413ec1352:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/events/rendering.py - uriBaseId: '%SRCROOT%' - index: 79 - region: - startLine: 187 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: a25cb99b7015c47e:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 80 - region: - startLine: 212 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 28f60cf0c9a0eb31:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/forms.py - uriBaseId: '%SRCROOT%' - index: 81 - region: - startLine: 102 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b7ea6a3b785033b7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/models.py - uriBaseId: '%SRCROOT%' - index: 82 - region: - startLine: 54 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 484f1e650998fb93:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 30 - region: - startLine: 19 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: ada7cb1e0b3d62d3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/views.py - uriBaseId: '%SRCROOT%' - index: 83 - region: - startLine: 545 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 7a3f149799964bfe:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/views.py - uriBaseId: '%SRCROOT%' - index: 83 - region: - startLine: 584 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: a722a9e705711ac:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/finance/views.py - uriBaseId: '%SRCROOT%' - index: 83 - region: - startLine: 1012 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 2fdd552ab3369a15:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/integration.py - uriBaseId: '%SRCROOT%' - index: 84 - region: - startLine: 177 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: d737c2bd64ef51c0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/integration.py - uriBaseId: '%SRCROOT%' - index: 84 - region: - startLine: 222 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 29c16372b823bd3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/models.py - uriBaseId: '%SRCROOT%' - index: 85 - region: - startLine: 179 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b6c3fd6fd62d761f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/objects.py - uriBaseId: '%SRCROOT%' - index: 86 - region: - startLine: 76 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 6c183b72da411b2b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/identities/objects.py - uriBaseId: '%SRCROOT%' - index: 86 - region: - startLine: 97 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 4c323d3a18944a68:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 87 - region: - startLine: 111 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: a8550e7340f312c1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 87 - region: - startLine: 177 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 95a3c749eac11f03:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/emails.py - uriBaseId: '%SRCROOT%' - index: 88 - region: - startLine: 32 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: f42355e78470c774:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/emails.py - uriBaseId: '%SRCROOT%' - index: 88 - region: - startLine: 45 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 36a4a5c93c32ef39:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 46 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b5c977af69dc696d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 54 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4f9bb42dd3abfa7a:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 64 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b8a6af68ceab4eb7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 74 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: e0257be7907fb7a4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 82 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d7bff7835d34d63c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 89 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 1d6e815ea4738e9c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 195 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: c0d82879b58561eb:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/forms.py - uriBaseId: '%SRCROOT%' - index: 89 - region: - startLine: 219 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 6dea4795b97393d4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 268 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 1b282db78669bf39:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 338 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 92fd8e07b42235d6:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 342 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 211cf57b172b3d92:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 420 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 1b282db78669bf39:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 492 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 95a3c749eac11f03:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 691 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 42b0350cbed1c795:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 699 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: fb27c7a2ace93b95:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/messaging/views.py - uriBaseId: '%SRCROOT%' - index: 90 - region: - startLine: 708 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: a5dde4d44a87af5d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/news/forms.py - uriBaseId: '%SRCROOT%' - index: 91 - region: - startLine: 39 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 7ddc4c4614f86b06:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/ajax.py - uriBaseId: '%SRCROOT%' - index: 92 - region: - startLine: 19 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 9a5b3e9a0fe66db8:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/identities.py - uriBaseId: '%SRCROOT%' - index: 93 - region: - startLine: 39 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: ae60edfe222e275b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/identities.py - uriBaseId: '%SRCROOT%' - index: 93 - region: - startLine: 60 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: ae60edfe222f2750:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/south_migrations/0002_updaterecords.py - uriBaseId: '%SRCROOT%' - index: 42 - region: - startLine: 29 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 15f09d78b1e5d187:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/reports/templatetags/reports.py - uriBaseId: '%SRCROOT%' - index: 94 - region: - startLine: 56 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 1346b102bc01c79b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 248 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: c64e0b9bb18ae5bb:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 258 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 98d6b0581c4efb4c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 266 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 4272cdcf94b57749:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 275 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b9066916db660f16:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 284 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: d608b6258e82d1f5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 293 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 29f4bab899879282:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 301 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 734c2457d6047d6f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 323 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: ccb6a709dcc4e40c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 658 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 23150aca18bbf8bf:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 776 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 28b2c28bdfea48d0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 787 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 9e6b6ab598d49e34:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 909 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: b298a616c563702c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 920 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: ac668d5e73a868b4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 1000 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 170f03882d01fd28:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 1013 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 3d4ee1cb0e406c22:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/models.py - uriBaseId: '%SRCROOT%' - index: 96 - region: - startLine: 93 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 98a36ac479066d6d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/models.py - uriBaseId: '%SRCROOT%' - index: 96 - region: - startLine: 240 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: eaa2bac5ddf7dc59:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/south_migrations/0003_treeiocurrency.py - uriBaseId: '%SRCROOT%' - index: 51 - region: - startLine: 21 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: a78d4dbf7cb92261:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 57 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 9e1fb519692d2bb0:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 82 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 9e1fb519692d2bb0:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 109 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 9e1fb519692d2bb0:3 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 561 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 140a71e797006cf2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1160 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 8f570f2cbb592cbb:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1220 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: f93dacb71d5e313f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1232 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 500d69f53271b1ab:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1241 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 5a98c007805188ab:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1249 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 15a2c86c9ead1c58:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1257 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: b80a0592f17c429d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1265 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: 707d046d35dd6ff3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 1273 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: b02ef4947e73a8ed:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 226 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: a76e3001527f6484:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 230 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: 5c79f9bf337171ee:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 240 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: a76e3001527f6484:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 244 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 371488c3535acdc1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 250 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 4c64263a280bbb5d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 254 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 1926186369632fa3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/api/handlers.py - uriBaseId: '%SRCROOT%' - index: 97 - region: - startLine: 258 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: ab2e570e7cb2a2ab:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 78 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 1edcf31275d94464:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 229 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 4d148d3429cdeb7c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 242 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: a5c264487e43ac89:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 249 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 371488c3535acd98:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 255 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: d37dc280f2024ba1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/identities.py - uriBaseId: '%SRCROOT%' - index: 99 - region: - startLine: 40 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: ae60edfe222e275b:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - region: - startLine: 261 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 3f99222c3a51fbae:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - region: - startLine: 288 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 1a5b7d7045f50769:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - region: - startLine: 310 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: b037293c431beb0c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - region: - startLine: 346 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: f32e9d6b12cb1ba2:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/models.py - uriBaseId: '%SRCROOT%' - index: 100 - region: - startLine: 363 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: aed7e2b05091582:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 579 - startColumn: 25 - endColumn: 32 - partialFingerprints: - primaryLocationLineHash: 711ce4a34a0e60ba:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 583 - startColumn: 33 - endColumn: 40 - partialFingerprints: - primaryLocationLineHash: 3ee64eebc3cf395c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 593 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: da35acc2a2e50566:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 597 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: 371488c3535acdc1:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 604 - startColumn: 21 - endColumn: 28 - partialFingerprints: - primaryLocationLineHash: 67ce6437bb233b5:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 608 - startColumn: 29 - endColumn: 36 - partialFingerprints: - primaryLocationLineHash: 8401c53955286c3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 612 - startColumn: 17 - endColumn: 24 - partialFingerprints: - primaryLocationLineHash: 1823f94ec6dae24d:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 947 - startColumn: 9 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: fda92497510560fe:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/catch-base-exception - ruleIndex: 6 - rule: - id: com.lgtm/python-queries:py/catch-base-exception - index: 6 - message: - text: Except block directly handles BaseException. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/views.py - uriBaseId: '%SRCROOT%' - index: 101 - region: - startLine: 956 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 949a5bf83bc22ed7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'request' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/api/utils.py - uriBaseId: '%SRCROOT%' - index: 102 - region: - startLine: 271 - startColumn: 5 - endColumn: 12 - partialFingerprints: - primaryLocationLineHash: af824a257a10910:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'cursor' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/db/creation.py - uriBaseId: '%SRCROOT%' - index: 65 - region: - startLine: 74 - startColumn: 13 - endColumn: 19 - partialFingerprints: - primaryLocationLineHash: d18a825397cdc820:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'initial_db' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/management/commands/installdb.py - uriBaseId: '%SRCROOT%' - index: 19 - region: - startLine: 20 - startColumn: 9 - endColumn: 19 - partialFingerprints: - primaryLocationLineHash: 5936187629651b2f:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'db' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/management/commands/installdb.py - uriBaseId: '%SRCROOT%' - index: 19 - region: - startLine: 28 - startColumn: 9 - endColumn: 11 - partialFingerprints: - primaryLocationLineHash: 956a65aac87b5404:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'exit_code' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/management/commands/installdb.py - uriBaseId: '%SRCROOT%' - index: 19 - region: - startLine: 88 - startColumn: 13 - endColumn: 22 - partialFingerprints: - primaryLocationLineHash: c23b411726cb3cb9:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'profile' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/models.py - uriBaseId: '%SRCROOT%' - index: 69 - region: - startLine: 383 - startColumn: 13 - endColumn: 20 - partialFingerprints: - primaryLocationLineHash: 162dbeaa20206db4:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'task_time_slot' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/projects/views.py - uriBaseId: '%SRCROOT%' - index: 103 - region: - startLine: 1000 - startColumn: 13 - endColumn: 27 - partialFingerprints: - primaryLocationLineHash: 2758f94b9f18b78c:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'skip' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 586 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: bda85ac655b296f3:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'skip' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 940 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: 4335185cfcdc7454:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'skip' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/forms.py - uriBaseId: '%SRCROOT%' - index: 95 - region: - startLine: 1065 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: 88682b35a7669fee:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 468 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: fe2da3e1da30eff7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 470 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: acb4b8b8be67ba96:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 473 - startColumn: 9 - endColumn: 14 - partialFingerprints: - primaryLocationLineHash: 831dd3a4e02b1ff7:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 658 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: fe2da3e1da30eff7:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 660 - startColumn: 13 - endColumn: 18 - partialFingerprints: - primaryLocationLineHash: acb4b8b8be67ba96:2 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'query' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/sales/views.py - uriBaseId: '%SRCROOT%' - index: 2 - region: - startLine: 663 - startColumn: 9 - endColumn: 14 - partialFingerprints: - primaryLocationLineHash: cdde85fbe701c6cb:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'skip' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 568 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: 66a23547dd5705fc:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/unused-local-variable - ruleIndex: 7 - rule: - id: com.lgtm/python-queries:py/unused-local-variable - index: 7 - message: - text: The value assigned to local variable 'skip' is never used. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/services/forms.py - uriBaseId: '%SRCROOT%' - index: 98 - region: - startLine: 602 - startColumn: 13 - endColumn: 17 - partialFingerprints: - primaryLocationLineHash: a620629e15bfe1ba:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/conflicting-attributes - ruleIndex: 8 - rule: - id: com.lgtm/python-queries:py/conflicting-attributes - index: 8 - message: - text: |- - Base classes have conflicting values for attribute 'clear': Function clear and Builtin-method clear. - Base classes have conflicting values for attribute 'get': Function get and Builtin-method get. - Base classes have conflicting values for attribute 'has_key': Function has_key and Builtin-method has_key. - Base classes have conflicting values for attribute 'items': Function items and Builtin-method items. - Base classes have conflicting values for attribute 'iteritems': Function iteritems and Builtin-method iteritems. - Base classes have conflicting values for attribute 'iterkeys': Function iterkeys and Builtin-method iterkeys. - Base classes have conflicting values for attribute 'itervalues': Function itervalues and Builtin-method itervalues. - Base classes have conflicting values for attribute 'pop': Function pop and Builtin-method pop. - Base classes have conflicting values for attribute 'popitem': Function popitem and Builtin-method popitem. - Base classes have conflicting values for attribute 'setdefault': Function setdefault and Builtin-method setdefault. - Base classes have conflicting values for attribute 'update': Function update and Builtin-method update. - Base classes have conflicting values for attribute 'values': Function values and Builtin-method values. - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/db/db.py - uriBaseId: '%SRCROOT%' - index: 9 - region: - startLine: 27 - endColumn: 46 - partialFingerprints: - primaryLocationLineHash: b2335b88158aecda:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/missing-equals - ruleIndex: 9 - rule: - id: com.lgtm/python-queries:py/missing-equals - index: 9 - message: - text: The class 'DatabaseDict' does not override '__eq__', but adds the new attribute [store](1). - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/db/db.py - uriBaseId: '%SRCROOT%' - index: 9 - region: - startLine: 27 - endColumn: 46 - partialFingerprints: - primaryLocationLineHash: b2335b88158aecda:1 - primaryLocationStartColumnFingerprint: "0" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/db/db.py - uriBaseId: '%SRCROOT%' - index: 9 - region: - startLine: 50 - startColumn: 9 - endColumn: 19 - message: - text: store - - ruleId: com.lgtm/python-queries:py/import-and-import-from - ruleIndex: 10 - rule: - id: com.lgtm/python-queries:py/import-and-import-from - index: 10 - message: - text: Module 'html5lib' is imported with both 'import' and 'import from' - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/sanitizer.py - uriBaseId: '%SRCROOT%' - index: 104 - region: - startLine: 8 - endColumn: 16 - partialFingerprints: - primaryLocationLineHash: 51e646e3cea382ab:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/import-and-import-from - ruleIndex: 10 - rule: - id: com.lgtm/python-queries:py/import-and-import-from - index: 10 - message: - text: Module 'os' is imported with both 'import' and 'import from' - locations: - - physicalLocation: - artifactLocation: - uri: treeio_project/settings.py - uriBaseId: '%SRCROOT%' - index: 3 - region: - startLine: 12 - endColumn: 10 - partialFingerprints: - primaryLocationLineHash: 116aabf63cf0f10e:1 - primaryLocationStartColumnFingerprint: "0" - - ruleId: com.lgtm/python-queries:py/stack-trace-exposure - ruleIndex: 11 - rule: - id: com.lgtm/python-queries:py/stack-trace-exposure - index: 11 - message: - text: '[Error information](1) may be exposed to an external user' - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 395 - startColumn: 29 - endColumn: 33 - partialFingerprints: - primaryLocationLineHash: fe0bcea7958de1b6:1 - primaryLocationStartColumnFingerprint: "20" - codeFlows: - - threadFlows: - - locations: - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 50 - endColumn: 64 - message: - text: ControlFlowNode for Attribute() - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 38 - endColumn: 66 - message: - text: ControlFlowNode for Dict - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 13 - endColumn: 67 - message: - text: ControlFlowNode for Dict - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 395 - startColumn: 29 - endColumn: 33 - message: - text: ControlFlowNode for data - - threadFlows: - - locations: - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 50 - endColumn: 64 - message: - text: ControlFlowNode for Attribute() - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 46 - endColumn: 65 - message: - text: ControlFlowNode for str() - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 38 - endColumn: 66 - message: - text: ControlFlowNode for Dict - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 13 - endColumn: 67 - message: - text: ControlFlowNode for Dict - - location: - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 395 - startColumn: 29 - endColumn: 33 - message: - text: ControlFlowNode for data - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/middleware/chat.py - uriBaseId: '%SRCROOT%' - index: 0 - region: - startLine: 394 - startColumn: 50 - endColumn: 64 - message: - text: Error information - - ruleId: com.lgtm/python-queries:py/incomplete-url-substring-sanitization - ruleIndex: 12 - rule: - id: com.lgtm/python-queries:py/incomplete-url-substring-sanitization - index: 12 - message: - text: '''[gmail.com](1)'' may be at an arbitrary position in the sanitized URL.' - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 73 - startColumn: 12 - endColumn: 33 - partialFingerprints: - primaryLocationLineHash: 46034441645cb7d5:1 - primaryLocationStartColumnFingerprint: "3" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 73 - startColumn: 12 - endColumn: 23 - message: - text: gmail.com - - ruleIndex: 12 - rule: - id: com.lgtm/python-queries:py/incomplete-url-substring-sanitization - index: 12 - message: - text: '''[googlemail.com](1)'' may be at an arbitrary position in the sanitized URL.' - locations: - - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 73 - startColumn: 37 - endColumn: 63 - partialFingerprints: - primaryLocationLineHash: 46034441645cb7d5:1 - primaryLocationStartColumnFingerprint: "28" - relatedLocations: - - id: 1 - physicalLocation: - artifactLocation: - uri: treeio/core/mail.py - uriBaseId: '%SRCROOT%' - index: 67 - region: - startLine: 73 - startColumn: 37 - endColumn: 53 - message: - text: googlemail.com - columnKind: unicodeCodePoints - properties: - semmle.formatSpecifier: 2.1.0 - semmle.sourceLanguage: python diff --git a/docs/sarif-handling.org b/docs/sarif-handling.org index 1b3bc6d..8147b9d 100644 --- a/docs/sarif-handling.org +++ b/docs/sarif-handling.org @@ -61,7 +61,8 @@ "'$.fn." + plugin.getPluginName() + "' plugin" #+end_src - Results are + The full results are found in [[file:../data/treeio/results.yaml::Potential XSS vulnerability in the \['$.fn.datepicker' plugin\](1).][results.yaml]], with a testing subset in [[file:../data/treeio/test_set_1.yaml::Potential XSS vulnerability in the \['$.fn.datepicker' + plugin\](1).][test_set_1.yaml]]; the results for this query are #+BEGIN_SRC text message: text: |- @@ -71,7 +72,7 @@ #+END_SRC with 3 =relatedLocations= and 6 =threadFlows=. - The the original query's first column is a sink (=sink.getNode()=), so the + The original query's first column is a sink (=sink.getNode()=), so the =threadFlows= should terminate there -- and they do. #+BEGIN_SRC text locations: @@ -152,6 +153,78 @@ obvious connections between them. More importantly, the ordering is consistent. +** Multiple message values and source/sink pairs + As a special case of [[*Multiple message values and flow paths][Multiple message values and flow paths]], we can report only + the (source, sink) pairs and drop the flow paths. This is useful in result + reports spanning many repositories and multiple tools. + + Considering + #+BEGIN_SRC text + Potential XSS vulnerability in the ['$.fn.datepicker' plugin](1). + #+END_SRC + found in [[file:../data/treeio/test_set_1.yaml::Potential XSS vulnerability in the \['$.fn.datepicker' plugin\](1).][test_set_1.yaml]], stripping the =threadFlows= paths, and looking at the + first two =threadFlows= gives the following simplified structure. + Note that without the flow paths, the first two results are now identical + =(source, sink)= pairs; the same holds for 2,3 and 4,5. + + #+BEGIN_SRC yaml + - ruleId: com.lgtm/javascript-queries:js/unsafe-jquery-plugin + codeFlows: + - threadFlows: + - locations: + - location: + physicalLocation: + artifactLocation: + uri: static/js/jquery-ui-1.10.3/ui/jquery-ui.js + uriBaseId: '%SRCROOT%' + index: 72 + region: + startLine: 9598 + startColumn: 28 + endColumn: 35 + message: + text: options + - location: + physicalLocation: + artifactLocation: + uri: static/js/jquery-ui-1.10.3/ui/jquery.ui.datepicker.js + uriBaseId: '%SRCROOT%' + index: 61 + region: + startLine: 1027 + startColumn: 6 + endColumn: 14 + message: + text: altField + - threadFlows: + - locations: + - location: + physicalLocation: + artifactLocation: + uri: static/js/jquery-ui-1.10.3/ui/jquery-ui.js + uriBaseId: '%SRCROOT%' + index: 72 + region: + startLine: 9598 + startColumn: 28 + endColumn: 35 + message: + text: options + - location: + physicalLocation: + artifactLocation: + uri: static/js/jquery-ui-1.10.3/ui/jquery.ui.datepicker.js + uriBaseId: '%SRCROOT%' + index: 61 + region: + startLine: 1027 + startColumn: 6 + endColumn: 14 + message: + text: altField + + #+END_SRC + # #+OPTIONS: ^:{} diff --git a/scripts/file-level-tests.sh b/scripts/file-level-tests.sh new file mode 100644 index 0000000..0d88e00 --- /dev/null +++ b/scripts/file-level-tests.sh @@ -0,0 +1,66 @@ +# -*- sh -*- +# The purpose of this tool set is working with sarif at the shell / file level, +# across multiple versions of the same sarif result set, and across many +# repositories. +# +# These tests mirror that goal: they work on files using the tools and use +# standard unix utilities to verify contents. +# + +sarif-results-summary -h + +# +# Simple failure checks. These should produce no output. +# +test_files=" +../data/wxWidgets_wxWidgets__2021-11-21_16_06_30__export.sarif +../data/torvalds_linux__2021-10-21_10_07_00__export.sarif +../data/treeio/results.sarif +" +for file in $test_files ; do + sarif-results-summary $file > /dev/null +done +for file in $test_files ; do + sarif-results-summary -r $file > /dev/null +done + +# +# The following are for iterating and evolving result inspection to find test +# cases covering the different output options. They are intended for manual use +# and review. +# +read -r file srcroot <<< "../data/treeio/results.sarif ../data/treeio/treeio" + +# All results, minimal output +sarif-results-summary $file | less + +# All results, related locations output +sarif-results-summary -r $file | less + +# All results, related locations and source output +sarif-results-summary -r -s $srcroot $file | less + +# single-line result, no flow steps +start="sanitizer.py:8:1:8:16" +sarif-results-summary $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less + +# single-line result, with flow steps +start="treeio.core.middleware.chat.py:395:29:395:33" +sarif-results-summary $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less + +# single-line result, with flow steps, with relatedLocations +start="treeio.core.middleware.chat.py:395:29:395:33" +sarif-results-summary -r $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less + +# single-line result, with flow steps compacted +start="treeio.core.middleware.chat.py:395:29:395:33" +sarif-results-summary -e $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less + +# multi-line result, no flow steps, with relatedLocations and source +start=editor_plugin_src.js:722:72:722:73 +sarif-results-summary -r -s $srcroot $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less + +# multi-line result, with flow steps, with relatedLocations and source +start=modal-form.html:89:35:93:14 +sarif-results-summary -r -s $srcroot $file | sed -n "/$start/,/RESULT/p" | sed '$d' | less +