From e91ae517697b5ff0b54f51e75c570783eeafbd55 Mon Sep 17 00:00:00 2001 From: David Newell Date: Wed, 7 Aug 2024 14:27:44 +0100 Subject: [PATCH] fix linting issues --- .../src/scenes/error-tracking/errorTrackingGroupSceneLogic.ts | 2 +- frontend/src/scenes/error-tracking/queries.ts | 2 +- posthog/hogql/visitor.py | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/scenes/error-tracking/errorTrackingGroupSceneLogic.ts b/frontend/src/scenes/error-tracking/errorTrackingGroupSceneLogic.ts index 6adaad9be440b..ef892de0d9bee 100644 --- a/frontend/src/scenes/error-tracking/errorTrackingGroupSceneLogic.ts +++ b/frontend/src/scenes/error-tracking/errorTrackingGroupSceneLogic.ts @@ -13,7 +13,7 @@ import { errorTrackingLogic } from './errorTrackingLogic' import { errorTrackingGroupQuery } from './queries' export interface ErrorTrackingGroupSceneLogicProps { - fingerprint: string + fingerprint: string[] } export enum ErrorGroupTab { diff --git a/frontend/src/scenes/error-tracking/queries.ts b/frontend/src/scenes/error-tracking/queries.ts index f6f2a49998aa3..4d435b9ac3e63 100644 --- a/frontend/src/scenes/error-tracking/queries.ts +++ b/frontend/src/scenes/error-tracking/queries.ts @@ -113,7 +113,7 @@ export const errorTrackingGroupQuery = ({ filterTestAccounts, filterGroup, }: { - fingerprint: string + fingerprint: string[] dateRange: DateRange filterTestAccounts: boolean filterGroup: UniversalFiltersGroup diff --git a/posthog/hogql/visitor.py b/posthog/hogql/visitor.py index e0cde0d261511..025ecc5f52e92 100644 --- a/posthog/hogql/visitor.py +++ b/posthog/hogql/visitor.py @@ -30,10 +30,6 @@ def visit(self, node: AST | None) -> T: e.start = node.start e.end = node.end raise - except AttributeError as meme: - # print(node) - print(meme) - raise class TraversingVisitor(Visitor[None]):