Skip to content

Commit

Permalink
Fix linter and gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielguarisa committed Oct 25, 2023
1 parent 9eee09d commit d093cb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7.16, 3.11]
python-version: [3.8, 3.11]
poetry-version: [1.4.2]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion retrack/engine/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def execute(
self.__run_node(node_id)
except Exception as e:
raise Exception(f"Error running node {node_id} in {self.name}") from e

if self.states[constants.OUTPUT_REFERENCE_COLUMN].isna().sum() == 0:
break

Expand Down
2 changes: 0 additions & 2 deletions retrack/nodes/lowercase.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import typing

import enum

import pandas as pd
import pydantic

Expand Down
4 changes: 2 additions & 2 deletions retrack/nodes/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def kind(self) -> NodeKind:

def run(self, input_bool: pd.Series) -> typing.Dict[str, pd.Series]:
return {
f"output_then_filter": input_bool,
f"output_else_filter": ~input_bool,
"output_then_filter": input_bool,
"output_else_filter": ~input_bool,
}

def memory_type(self) -> NodeMemoryType:
Expand Down

0 comments on commit d093cb7

Please sign in to comment.