Skip to content

Commit 0ffb44f

Browse files
committed
Try fix
1 parent 904e0e3 commit 0ffb44f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
run: poe fix
6464

6565
- uses: parkerbxyz/suggest-changes@v2
66-
if: steps.fix-ruff.outcome == 'success'
66+
if: steps.fix-ruff.outcome == 'success' && matrix.python-version == '3.9'
6767
with:
6868
comment: 'Please commit the suggested changes from markdownlint.'
6969
event: 'REQUEST_CHANGES'

azure-kusto-data/azure/kusto/data/helpers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# Alias for dataframe_from_result_table converter type
1111
Converter = Dict[str, Union[str, Callable[[str, "pd.DataFrame"], "pd.Series"]]]
1212

13-
a = "sdddsds"
14-
1513

1614
def load_bundled_json(file_name: str) -> Dict:
1715
filename = Path(__file__).absolute().parent.joinpath(file_name)
@@ -116,7 +114,7 @@ def parse_float(frame, col):
116114
import pandas as pd
117115

118116
frame[col] = frame[col].replace("NaN", np.nan).replace("Infinity", np.inf).replace("-Infinity", -np.inf)
119-
frame[col] = pd.to_numeric(frame[col], errors="coerce").astype(pd.Float64Dtype()) # type: ignore
117+
frame[col] = pd.to_numeric(frame[col], errors="coerce").astype(pd.Float64Dtype()) # pyright: ignore[reportCallIssue,reportArgumentType]
120118
return frame[col]
121119

122120

0 commit comments

Comments
 (0)