Skip to content

Commit

Permalink
try to fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aclerc committed Jan 5, 2025
1 parent 36d4611 commit cf7e49d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ show-fixes = true
[tool.ruff.lint]
select = ["ALL"] # https://beta.ruff.rs/docs/rules/
ignore = [
"ANN101", # `self` doesn't need annotations
"ANN102", # `cls` doesn't need annotations
"ANN204", # `__init__` doesn't need annotations
"S301", # `pickle` and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue
"D", # docstring checks
Expand Down
4 changes: 2 additions & 2 deletions wind_up/scada_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import datetime as dt
import logging
import warnings
from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Any

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -249,7 +249,7 @@ def filter_rpm_or_pt_curve(
x_col: str,
y_col: str,
y_centile: float,
x_bin_edges: list[float],
x_bin_edges: list[np.floating[Any]],
reject_high: bool,
y_margin: float,
filter_last_bin: bool = True,
Expand Down

0 comments on commit cf7e49d

Please sign in to comment.