Skip to content

Commit b781e64

Browse files
committed
removed B010, added ruff ignore in dataanalyzer
1 parent 312e91b commit b781e64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nodescraper/interfaces/dataanalyzertask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init_subclass__(cls, **kwargs: dict[str, Any]) -> None:
119119
raise TypeError(f"No data model set for {cls.__name__}")
120120

121121
if hasattr(cls, "analyze_data"):
122-
setattr(cls, "analyze_data", analyze_decorator(cls.analyze_data))
122+
setattr(cls, "analyze_data", analyze_decorator(cls.analyze_data)) # noqa
123123

124124
@abc.abstractmethod
125125
def analyze_data(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ profile = "black"
5858

5959
[tool.ruff.lint]
6060
select = ["F", "B", "T20", "N", "W", "I", "E"]
61-
ignore = ["E501", "N806", "B010"]
61+
ignore = ["E501", "N806", "SIM118"]

0 commit comments

Comments
 (0)