Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(excel2json-lists): fix two ruff PLW0603 (#778)
- Loading branch information
1 parent
cf491e9
commit 5f53c38
Showing
9 changed files
with
95 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
src/dsp_tools/commands/excel2json/models/list_node_name.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from dataclasses import dataclass, field | ||
|
||
|
||
@dataclass | ||
class ListNodeNames: | ||
""" | ||
Contains the information to construct a list | ||
Args: | ||
lists_with_previous_cell_values: used to ensure that there are no duplicate node names | ||
previous_node_names: used to ensure that there are no duplicate node names | ||
""" | ||
|
||
lists_with_previous_cell_values: list[list[str]] = field(default_factory=list) | ||
previous_node_names: list[str] = field(default_factory=list) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters